# Alembic configuration for PhotoVault. # # The actual database URL is loaded at runtime by alembic/env.py from the # DATABASE_URL environment variable (with the async driver suffix stripped). # The placeholder below is only used for `alembic revision --autogenerate` # when no env var is set. [alembic] script_location = alembic prepend_sys_path = . version_path_separator = os sqlalchemy.url = postgresql+psycopg2://mulita:mulita@localhost:5432/mulita [post_write_hooks] [loggers] keys = root,sqlalchemy,alembic [handlers] keys = console [formatters] keys = generic [logger_root] level = WARNING handlers = console qualname = [logger_sqlalchemy] level = WARNING handlers = qualname = sqlalchemy.engine [logger_alembic] level = INFO handlers = qualname = alembic [handler_console] class = StreamHandler args = (sys.stderr,) level = NOTSET formatter = generic [formatter_generic] format = %(levelname)-5.5s [%(name)s] %(message)s datefmt = %H:%M:%S