48 lines
873 B
Plaintext
48 lines
873 B
Plaintext
# Alembic Configuration File
|
|
# This file contains basic configuration for Alembic
|
|
|
|
[alembic]
|
|
# Path to migration scripts
|
|
script_location = migrations
|
|
|
|
# Template uses jinja2 format
|
|
output_encoding = utf-8
|
|
|
|
# Database connection configuration
|
|
# In practice, this value will be overridden by the configuration in env.py
|
|
sqlalchemy.url = driver://user:pass@localhost/dbname
|
|
|
|
# Logging configuration
|
|
[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 |