Merge branch 'stable'
[larjonas-mediagoblin.git] / alembic.ini
blob2fa080996dd1276b4280e9215adc79147735006f
1 # A generic, single database configuration.
3 [alembic]
4 # path to migration scripts
5 script_location = %(here)s/mediagoblin/db/migrations
7 # template used to generate migration files
8 # file_template = %%(rev)s_%%(slug)s
10 # max length of characters to apply to the
11 # "slug" field
12 #truncate_slug_length = 40
14 # set to 'true' to run the environment during
15 # the 'revision' command, regardless of autogenerate
16 # revision_environment = false
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
23 sqlalchemy.url = sqlite:///mediagoblin.db
26 # Logging configuration
27 [loggers]
28 keys = root,sqlalchemy,alembic
30 [handlers]
31 keys = console
33 [formatters]
34 keys = generic
36 [logger_root]
37 level = WARN
38 handlers = console
39 qualname =
41 [logger_sqlalchemy]
42 level = WARN
43 handlers =
44 qualname = sqlalchemy.engine
46 [logger_alembic]
47 level = INFO
48 handlers =
49 qualname = alembic
51 [handler_console]
52 class = StreamHandler
53 args = (sys.stderr,)
54 level = NOTSET
55 formatter = generic
57 [formatter_generic]
58 format = %(levelname)-5.5s [%(name)s] %(message)s
59 datefmt = %H:%M:%S