alembic.ini (770B)
1 # A generic, single database configuration. 2 3 [alembic] 4 # template used to generate migration files 5 # file_template = %%(rev)s_%%(slug)s 6 7 # set to 'true' to run the environment during 8 # the 'revision' command, regardless of autogenerate 9 # revision_environment = false 10 11 12 # Logging configuration 13 [loggers] 14 keys = root,sqlalchemy,alembic 15 16 [handlers] 17 keys = console 18 19 [formatters] 20 keys = generic 21 22 [logger_root] 23 level = WARN 24 handlers = console 25 qualname = 26 27 [logger_sqlalchemy] 28 level = WARN 29 handlers = 30 qualname = sqlalchemy.engine 31 32 [logger_alembic] 33 level = INFO 34 handlers = 35 qualname = alembic 36 37 [handler_console] 38 class = StreamHandler 39 args = (sys.stderr,) 40 level = NOTSET 41 formatter = generic 42 43 [formatter_generic] 44 format = %(levelname)-5.5s [%(name)s] %(message)s 45 datefmt = %H:%M:%S