MVP frontend+backend
This commit is contained in:
@@ -12,9 +12,10 @@ from typing import Any
|
||||
|
||||
from alembic import context
|
||||
|
||||
# Load the alembic.ini logging config.
|
||||
# Load the alembic.ini logging config without disabling existing loggers —
|
||||
# when running inside the FastAPI app the app's own loggers must not be reset.
|
||||
if context.config.config_file_name is not None:
|
||||
fileConfig(context.config.config_file_name)
|
||||
fileConfig(context.config.config_file_name, disable_existing_loggers=False)
|
||||
|
||||
|
||||
def run_migrations_offline() -> None:
|
||||
|
||||
Reference in New Issue
Block a user