Add new hook for two-step media type checking
[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
23sqlalchemy.url = sqlite:///mediagoblin.db
24
25
26# Logging configuration
27[loggers]
28keys = root,sqlalchemy,alembic
29
30[handlers]
31keys = console
32
33[formatters]
34keys = generic
35
36[logger_root]
37level = WARN
38handlers = console
39qualname =
40
41[logger_sqlalchemy]
42level = WARN
43handlers =
44qualname = sqlalchemy.engine
45
46[logger_alembic]
47level = INFO
48handlers =
49qualname = alembic
50
51[handler_console]
52class = StreamHandler
53args = (sys.stderr,)
54level = NOTSET
55formatter = generic
56
57[formatter_generic]
58format = %(levelname)-5.5s [%(name)s] %(message)s
59datefmt = %H:%M:%S