🚧 Add CA and server cert management
This commit is contained in:
@@ -14,7 +14,12 @@ from app import models # noqa: F401 (register all models with Base)
|
||||
config = context.config
|
||||
|
||||
if config.config_file_name is not None:
|
||||
fileConfig(config.config_file_name)
|
||||
# Our minimal alembic.ini intentionally has no [loggers]/[handlers]/
|
||||
# [formatters] sections; fileConfig raises KeyError without them.
|
||||
try:
|
||||
fileConfig(config.config_file_name)
|
||||
except Exception: # noqa: BLE001 - logging config is optional here
|
||||
pass
|
||||
|
||||
url = get_settings().database_url
|
||||
if url.startswith("postgresql://"):
|
||||
|
||||
Reference in New Issue
Block a user