Migration for #5415 - I forgot it, Doh!
[mediagoblin.git] / alembic.ini
CommitLineData
65f20ca4
BP
1# A generic, single database configuration.
2
3[alembic]
4# path to migration scripts
5script_location = %(here)s/mediagoblin/db/migrations
6
7# template used to generate migration files
8# file_template = %%(rev)s_%%(slug)s
9
10# max length of characters to apply to the
11# "slug" field
12#truncate_slug_length = 40
13
14# set to 'true' to run the environment during
15# the 'revision' command, regardless of autogenerate
16# revision_environment = false
17
18# set to 'true' to allow .pyc and .pyo files without
19# a source .py file to be detected as revisions in the
20# versions/ directory
21# sourceless = false
22
65f20ca4
BP
23# Logging configuration
24[loggers]
25keys = root,sqlalchemy,alembic
26
27[handlers]
28keys = console
29
30[formatters]
31keys = generic
32
33[logger_root]
34level = WARN
35handlers = console
36qualname =
37
38[logger_sqlalchemy]
39level = WARN
40handlers =
41qualname = sqlalchemy.engine
42
43[logger_alembic]
44level = INFO
45handlers =
46qualname = alembic
47
48[handler_console]
49class = StreamHandler
50args = (sys.stderr,)
51level = NOTSET
52formatter = generic
53
54[formatter_generic]
55format = %(levelname)-5.5s [%(name)s] %(message)s
56datefmt = %H:%M:%S