forked from polka_billy/porridger
refactoring - 1
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user