aboutsummaryrefslogtreecommitdiff
path: root/migrations/alembic.ini
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2021-06-10 15:55:48 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2021-06-10 15:55:48 +0530
commitb5409433e1af5f3b93555403c08755411a28dc72 (patch)
tree725dd351c067d41ef78eec45852f5b43059414d1 /migrations/alembic.ini
parent7852d78515f8e108ba99dce270f58d48dce9ca5f (diff)
initial migration
Diffstat (limited to 'migrations/alembic.ini')
-rw-r--r--migrations/alembic.ini50
1 files changed, 50 insertions, 0 deletions
diff --git a/migrations/alembic.ini b/migrations/alembic.ini
new file mode 100644
index 0000000..ec9d45c
--- /dev/null
+++ b/migrations/alembic.ini
@@ -0,0 +1,50 @@
+# 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,flask_migrate
+
+[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
+
+[logger_flask_migrate]
+level = INFO
+handlers =
+qualname = flask_migrate
+
+[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