1
# A generic, single database configuration.
4
# path to migration scripts
5
script_location = migrations
7
# template used to generate migration files
8
# file_template = %%(rev)s_%%(slug)s
10
# timezone to use when rendering the date
11
# within the migration file as well as the filename.
12
# string value is passed to dateutil.tz.gettz()
13
# leave blank for localtime
16
# max length of characters to apply to the
18
# truncate_slug_length = 40
20
# set to 'true' to run the environment during
21
# the 'revision' command, regardless of autogenerate
22
# revision_environment = false
24
# set to 'true' to allow .pyc and .pyo files without
25
# a source .py file to be detected as revisions in the
29
# version location specification; this defaults
30
# to migrations/versions. When using multiple version
31
# directories, initial revisions must be specified with --version-path
32
# version_locations = %(here)s/bar %(here)s/bat migrations/versions
34
# the output encoding used when revision files
35
# are written from script.py.mako
36
# output_encoding = utf-8
38
sqlalchemy.url = driver://user:pass@localhost/dbname
42
# post_write_hooks defines scripts or Python functions that are run
43
# on newly generated revision scripts. See the documentation for further
46
# format using "black" - use the console_scripts runner, against the "black" entrypoint
48
# black.type=console_scripts
49
# black.entrypoint=black
52
# Logging configuration
54
keys = root,sqlalchemy,alembic
70
qualname = sqlalchemy.engine
84
format = %(levelname)-5.5s [%(name)s] %(message)s