| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- # Alembic Configuration Template
- # Copy to alembic.ini and customize
- [alembic]
- # Path to migration scripts
- script_location = alembic
- # Template for new migration files
- file_template = %%(year)d%%(month).2d%%(day).2d_%%(hour).2d%%(minute).2d_%%(rev)s_%%(slug)s
- # Prepend sys.path for model imports
- prepend_sys_path = .
- # Timezone for file timestamps
- # timezone =
- # Max length for autogenerate identifiers
- # truncate_slug_length = 40
- # Post-write hooks
- # hooks = black
- # black.type = console_scripts
- # black.entrypoint = black
- # black.options = -q
- # Logging
- [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
|