fix: Update version_table name in migration functions to 'alembic_base'

1 parent cce684ce
...@@ -44,7 +44,7 @@ def run_migrations_offline() -> None: ...@@ -44,7 +44,7 @@ def run_migrations_offline() -> None:
target_metadata=target_metadata, target_metadata=target_metadata,
literal_binds=True, literal_binds=True,
dialect_opts={"paramstyle": "named"}, dialect_opts={"paramstyle": "named"},
version_table='alembic_models' version_table='alembic_base'
) )
...@@ -68,7 +68,7 @@ def run_migrations_online() -> None: ...@@ -68,7 +68,7 @@ def run_migrations_online() -> None:
with connectable.connect() as connection: with connectable.connect() as connection:
context.configure( context.configure(
connection=connection, target_metadata=target_metadata, connection=connection, target_metadata=target_metadata,
version_table='alembic_models' version_table='alembic_base'
) )
with context.begin_transaction(): with context.begin_transaction():
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!