Statistics
| Branch: | Tag: | Revision:

root / snf-pithos-backend / pithos / backends / lib / sqlalchemy / alembic.ini @ 5f8bbf54

History | View | Annotate | Download (934 Bytes)

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