~abompard/mailman/sqlalchemy

« back to all changes in this revision

Viewing changes to src/mailman/config/alembic.cfg

  • Committer: Barry Warsaw
  • Date: 2014-10-13 19:24:24 UTC
  • mfrom: (7278.1.5 mailman)
  • Revision ID: barry@list.org-20141013192424-o1kx97x2hnmyttip
Merge Aurélien Bompard's latest merge branch, with some cleaning up by Barry.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# A generic, single database configuration.
2
 
 
3
 
[alembic]
4
 
# path to migration scripts
5
 
script_location = mailman.database:alembic
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
 
 
23
 
 
24
 
# Logging configuration
25
 
[loggers]
26
 
keys = root,sqlalchemy,alembic
27
 
 
28
 
[handlers]
29
 
keys = console
30
 
 
31
 
[formatters]
32
 
keys = generic
33
 
 
34
 
[logger_root]
35
 
level = WARN
36
 
handlers = console
37
 
qualname =
38
 
 
39
 
[logger_sqlalchemy]
40
 
level = WARN
41
 
handlers = console
42
 
qualname = sqlalchemy.engine
43
 
 
44
 
[logger_alembic]
45
 
level = WARN
46
 
handlers = console
47
 
qualname = alembic
48
 
 
49
 
[handler_console]
50
 
class = StreamHandler
51
 
args = (sys.stderr,)
52
 
level = WARN
53
 
formatter = generic
54
 
 
55
 
[formatter_generic]
56
 
format = %(levelname)-5.5s [%(name)s] %(message)s
57
 
datefmt = %H:%M:%S