def migrate_tables(tables, engine_name=None):
    """
    Used to migrate dynamic table to database
    :param tables: tables name list, such as ['user']
    """
    from alembic.migration import MigrationContext
    engine = engine_manager[engine_name]
    mc = MigrationContext.configure(engine.session().connection)
    script =  get_migrate_script(mc, tables, engine.metadata)
    run_migrate_script(mc, script)