# Alembic configuration for the Work Package Suite. # The database URL is NOT hard-coded here — env.py pulls it from the same place # the app does (server/db.py: POSTGRES_* / DATABASE_URL / SQLite fallback), so # migrations always target the same database as the running app. [alembic] script_location = %(here)s/alembic prepend_sys_path = . # Use OS-native path separators on Windows dev machines. path_separator = os [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