refactoring - 1

This commit is contained in:
2023-08-23 23:46:51 +03:00
parent fb3763b910
commit 6742c963ab
11 changed files with 215 additions and 185 deletions

View File

@ -6,7 +6,7 @@ from sqlalchemy import pool
from alembic import context
from back import db, base
from back import auxiliary_for_alembic, db
# this is the Alembic Config object, which provides
# access to the values within the .ini file in use.
@ -17,7 +17,7 @@ config = context.config
if config.config_file_name is not None:
fileConfig(config.config_file_name)
target_metadata = base.Base.metadata
target_metadata = auxiliary_for_alembic.Base.metadata
# other values from the config, defined by the needs of env.py,
# can be acquired: