summaryrefslogtreecommitdiff
path: root/migrations/alembic.ini
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2016-01-09 23:22:14 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2016-05-01 17:26:45 +0200
commit5e8838cb1f16112c939a229b3a54fc5cd4098fef (patch)
tree1a02722ea0c1cf3cbbd9cc1e70506533dc548705 /migrations/alembic.ini
parent3c9a2a34d44aefbcd6787f825acd5a0167181e24 (diff)
downloadkosten-5e8838cb1f16112c939a229b3a54fc5cd4098fef.tar.gz
kosten-5e8838cb1f16112c939a229b3a54fc5cd4098fef.tar.bz2
kosten-5e8838cb1f16112c939a229b3a54fc5cd4098fef.zip
Init flask-migrate
Diffstat (limited to 'migrations/alembic.ini')
-rw-r--r--migrations/alembic.ini45
1 files changed, 45 insertions, 0 deletions
diff --git a/migrations/alembic.ini b/migrations/alembic.ini
new file mode 100644
index 0000000..f8ed480
--- /dev/null
+++ b/migrations/alembic.ini
@@ -0,0 +1,45 @@
+# 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