Blame files/alembic.ini

Pierre-Yves Chibon 39975d
# A generic, single database configuration.
Pierre-Yves Chibon 39975d
Pierre-Yves Chibon 39975d
[alembic]
Pierre-Yves Chibon 39975d
# path to migration scripts
Pierre-Yves Chibon 6c551c
script_location = /usr/share/pagure/alembic
Pierre-Yves Chibon 39975d
Pierre-Yves Chibon 39975d
# template used to generate migration files
Pierre-Yves Chibon 39975d
# file_template = %%(rev)s_%%(slug)s
Pierre-Yves Chibon 39975d
Pierre-Yves Chibon 39975d
# max length of characters to apply to the
Pierre-Yves Chibon 39975d
# "slug" field
Pierre-Yves Chibon 39975d
#truncate_slug_length = 40
Pierre-Yves Chibon 39975d
Pierre-Yves Chibon 39975d
# set to 'true' to run the environment during
Pierre-Yves Chibon 39975d
# the 'revision' command, regardless of autogenerate
Pierre-Yves Chibon 39975d
# revision_environment = false
Pierre-Yves Chibon 39975d
Pierre-Yves Chibon 39975d
# set to 'true' to allow .pyc and .pyo files without
Pierre-Yves Chibon 39975d
# a source .py file to be detected as revisions in the
Pierre-Yves Chibon 39975d
# versions/ directory
Pierre-Yves Chibon 39975d
# sourceless = false
Pierre-Yves Chibon 39975d
Pierre-Yves Chibon 39975d
#sqlalchemy.url = driver://user:pass@localhost/dbname
Pierre-Yves Chibon 39975d
sqlalchemy.url = sqlite:////var/tmp/pagure_dev.sqlite
Pierre-Yves Chibon 39975d
Pierre-Yves Chibon 39975d
Pierre-Yves Chibon 39975d
# Logging configuration
Pierre-Yves Chibon 39975d
[loggers]
Pierre-Yves Chibon 39975d
keys = root,sqlalchemy,alembic
Pierre-Yves Chibon 39975d
Pierre-Yves Chibon 39975d
[handlers]
Pierre-Yves Chibon 39975d
keys = console
Pierre-Yves Chibon 39975d
Pierre-Yves Chibon 39975d
[formatters]
Pierre-Yves Chibon 39975d
keys = generic
Pierre-Yves Chibon 39975d
Pierre-Yves Chibon 39975d
[logger_root]
Pierre-Yves Chibon 39975d
level = WARN
Pierre-Yves Chibon 39975d
handlers = console
Pierre-Yves Chibon 39975d
qualname =
Pierre-Yves Chibon 39975d
Pierre-Yves Chibon 39975d
[logger_sqlalchemy]
Pierre-Yves Chibon 39975d
level = WARN
Pierre-Yves Chibon 39975d
handlers =
Pierre-Yves Chibon 39975d
qualname = sqlalchemy.engine
Pierre-Yves Chibon 39975d
Pierre-Yves Chibon 39975d
[logger_alembic]
Pierre-Yves Chibon 39975d
level = INFO
Pierre-Yves Chibon 39975d
handlers =
Pierre-Yves Chibon 39975d
qualname = alembic
Pierre-Yves Chibon 39975d
Pierre-Yves Chibon 39975d
[handler_console]
Pierre-Yves Chibon 39975d
class = StreamHandler
Pierre-Yves Chibon 39975d
args = (sys.stderr,)
Pierre-Yves Chibon 39975d
level = NOTSET
Pierre-Yves Chibon 39975d
formatter = generic
Pierre-Yves Chibon 39975d
Pierre-Yves Chibon 39975d
[formatter_generic]
Pierre-Yves Chibon 39975d
format = %(levelname)-5.5s [%(name)s] %(message)s
Pierre-Yves Chibon 39975d
datefmt = %H:%M:%S