[alembic] script_location = alembic # Intentionally EMPTY. alembic/env.py takes the URL from ALEMBIC_DATABASE_URL, # then from the app's own settings.DATABASE_URL (.env). A DSN here would # silently win on some invocations and point migrations at the wrong database # with the wrong credentials. sqlalchemy.url = [loggers] keys = root,sqlalchemy,alembic [handlers] keys = console [formatters] keys = generic [logger_root] level = WARN handlers = console qualname = [logger_sqlalchemy] level = WARN 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