Created
March 28, 2021 23:16
-
-
Save mtreacy002/1aa0dc215e91f9a8cc34ce410764f8cf to your computer and use it in GitHub Desktop.
Alembic file for flask-migration with BIT multiple schema scenario
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A generic, single database configuration. | |
[alembic] | |
# template used to generate migration files | |
# file_template = %%(rev)s_%%(slug)s | |
# set to 'true' to run the environment during | |
# the 'revision' command, regardless of autogenerate | |
# revision_environment = false | |
# 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 | |
schema_names = public,bitschema |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment