Before making a big mistake.

This commit is contained in:
Landon Wark
2023-11-16 14:55:55 -06:00
parent 6e865f1551
commit 74957ee318
22 changed files with 137 additions and 924 deletions

View File

@@ -24,7 +24,9 @@ if config.config_file_name is not None:
# from myapp import mymodel
# target_metadata = mymodel.Base.metadata
from submissions.backend.db.models import Base
target_metadata = [Base.metadata]
# META_DATA = MetaData(bind=CONN, reflect=True)
# base = ctx.database_session.get_bind()
target_metadata = Base.metadata
# other values from the config, defined by the needs of env.py,
# can be acquired: