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 alembic/versions. When using multiple version
31 # directories, initial revisions must be specified with --version-path
32 # version_locations = %(here)s/bar %(here)s/bat alembic/versions
34 # the output encoding used when revision files
35 # are written from script.py.mako
36 # output_encoding = utf-8
38 # the database URL is generated in env.py
39 # sqlalchemy.url = driver://user:pass@localhost/dbname
43 # post_write_hooks defines scripts or Python functions that are run
44 # on newly generated revision scripts. See the documentation for further
47 # format using "black" - use the console_scripts runner, against the "black" entrypoint
49 # black.type=console_scripts
50 # black.entrypoint=black
53 # Logging configuration
55 keys = root,sqlalchemy,alembic
71 qualname = sqlalchemy.engine
85 format = %(levelname)-5.5s [%(name)s] %(message)s