mirror of
https://github.com/Routstr/routstr-core.git
synced 2026-10-05 12:28:22 +00:00
rm alembic logging override
This commit is contained in:
+4
-1
@@ -17,7 +17,10 @@ from routstr.core.db import DATABASE_URL
|
||||
config = context.config
|
||||
if config.config_file_name is None:
|
||||
raise ValueError("config_file_name is None")
|
||||
fileConfig(config.config_file_name)
|
||||
|
||||
# Skip loading alembic's logging configuration to preserve our custom logging
|
||||
# fileConfig(config.config_file_name)
|
||||
|
||||
config.set_main_option("sqlalchemy.url", DATABASE_URL)
|
||||
|
||||
target_metadata = SQLModel.metadata
|
||||
|
||||
Reference in New Issue
Block a user