diff options
author | Boris Bobrov <breton@cynicmansion.ru> | 2017-11-14 22:01:19 +0300 |
---|---|---|
committer | Boris Bobrov <breton@cynicmansion.ru> | 2017-11-14 22:01:19 +0300 |
commit | b3429ec69c09a7c216bc0404a2953b1517000bec (patch) | |
tree | f0380737938183cfa4b3f14a922480adc8b2427b /mediagoblin/db/migrations | |
parent | 152d03732323182edbfc9e739d83d5675d850d98 (diff) | |
download | mediagoblin-b3429ec69c09a7c216bc0404a2953b1517000bec.tar.lz mediagoblin-b3429ec69c09a7c216bc0404a2953b1517000bec.tar.xz mediagoblin-b3429ec69c09a7c216bc0404a2953b1517000bec.zip |
move alembic.ini to python app dir
Diffstat (limited to 'mediagoblin/db/migrations')
-rw-r--r-- | mediagoblin/db/migrations/alembic.ini | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/mediagoblin/db/migrations/alembic.ini b/mediagoblin/db/migrations/alembic.ini new file mode 100644 index 00000000..4f7fc115 --- /dev/null +++ b/mediagoblin/db/migrations/alembic.ini @@ -0,0 +1,56 @@ +# A generic, single database configuration. + +[alembic] +# path to migration scripts +script_location = %(here)s + +# template used to generate migration files +# file_template = %%(rev)s_%%(slug)s + +# max length of characters to apply to the +# "slug" field +#truncate_slug_length = 40 + +# set to 'true' to run the environment during +# the 'revision' command, regardless of autogenerate +# revision_environment = false + +# set to 'true' to allow .pyc and .pyo files without +# a source .py file to be detected as revisions in the +# versions/ directory +# sourceless = 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 |