Actually *add* the database schema management utilities
[asterisk/asterisk.git] / contrib / ast-db-manage / config.ini.sample
1 [alembic]
2 # path to migration scripts
3 script_location = config
4
5 # template used to generate migration files
6 # file_template = %%(rev)s_%%(slug)s
7
8 # set to 'true' to run the environment during
9 # the 'revision' command, regardless of autogenerate
10 # revision_environment = false
11
12 sqlalchemy.url = mysql://root:password@localhost/asterisk
13
14
15 # Logging configuration
16 [loggers]
17 keys = root,sqlalchemy,alembic
18
19 [handlers]
20 keys = console
21
22 [formatters]
23 keys = generic
24
25 [logger_root]
26 level = WARN
27 handlers = console
28 qualname =
29
30 [logger_sqlalchemy]
31 level = WARN
32 handlers =
33 qualname = sqlalchemy.engine
34
35 [logger_alembic]
36 level = INFO
37 handlers =
38 qualname = alembic
39
40 [handler_console]
41 class = StreamHandler
42 args = (sys.stderr,)
43 level = NOTSET
44 formatter = generic
45
46 [formatter_generic]
47 format = %(levelname)-5.5s [%(name)s] %(message)s
48 datefmt = %H:%M:%S