Update wiki links to the new short URL
[aur.git] / alembic.ini
blob6d3a39297e1e0d8342c921c9553fd7a997f516b2
1 # A generic, single database configuration.
3 [alembic]
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
14 # timezone =
16 # max length of characters to apply to the
17 # "slug" field
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
26 # versions/ directory
27 # sourceless = false
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
42 [post_write_hooks]
43 # post_write_hooks defines scripts or Python functions that are run
44 # on newly generated revision scripts. See the documentation for further
45 # detail and examples
47 # format using "black" - use the console_scripts runner, against the "black" entrypoint
48 # hooks=black
49 # black.type=console_scripts
50 # black.entrypoint=black
51 # black.options=-l 79
53 # Logging configuration
54 [loggers]
55 keys = root,sqlalchemy,alembic
57 [handlers]
58 keys = console
60 [formatters]
61 keys = generic
63 [logger_root]
64 level = WARN
65 handlers = console
66 qualname =
68 [logger_sqlalchemy]
69 level = WARN
70 handlers =
71 qualname = sqlalchemy.engine
73 [logger_alembic]
74 level = INFO
75 handlers =
76 qualname = alembic
78 [handler_console]
79 class = StreamHandler
80 args = (sys.stderr,)
81 level = NOTSET
82 formatter = generic
84 [formatter_generic]
85 format = %(levelname)-5.5s [%(name)s] %(message)s
86 datefmt = %H:%M:%S