All checks were successful
Build And Test / publish (push) Successful in 1m30s
69 lines
1.4 KiB
INI
69 lines
1.4 KiB
INI
# Alembic Configuration for PIM MCP Server
|
|
|
|
[alembic]
|
|
# Path to migration scripts
|
|
script_location = migrations
|
|
|
|
# Template used to generate migration files
|
|
file_template = %%(year)d%%(month).2d%%(day).2d_%%(hour).2d%%(minute).2d%%(second).2d_%%(rev)s_%%(slug)s
|
|
|
|
# Truncate long revision identifiers
|
|
truncate_slug_length = 40
|
|
|
|
# Set to 'true' to run the environment during
|
|
# the 'revision' command, regardless of autogenerate
|
|
# revision_environment = false
|
|
|
|
# Set to 'true' to allow .pyc and .pyo files without
|
|
# having the source .py files present
|
|
# sourceless = false
|
|
|
|
# SQLite URL - can be overridden by SQLITE_PATH env var
|
|
# The actual URL is constructed in env.py
|
|
sqlalchemy.url = sqlite+aiosqlite:///data/cache.db
|
|
|
|
# Version path separator
|
|
version_path_separator = os
|
|
|
|
[post_write_hooks]
|
|
# Format migration files with black (if installed)
|
|
# hooks = black
|
|
# black.type = console_scripts
|
|
# black.entrypoint = black
|
|
# black.options = -q
|
|
|
|
# Logging configuration
|
|
[loggers]
|
|
keys = root,sqlalchemy,alembic
|
|
|
|
[handlers]
|
|
keys = console
|
|
|
|
[formatters]
|
|
keys = generic
|
|
|
|
[logger_root]
|
|
level = WARN
|
|
handlers = console
|
|
qualname =
|
|
|
|
[logger_sqlalchemy]
|
|
level = WARN
|
|
handlers =
|
|
qualname = sqlalchemy.engine
|
|
|
|
[logger_alembic]
|
|
level = INFO
|
|
handlers =
|
|
qualname = alembic
|
|
|
|
[handler_console]
|
|
class = StreamHandler
|
|
args = (sys.stderr,)
|
|
level = NOTSET
|
|
formatter = generic
|
|
|
|
[formatter_generic]
|
|
format = %(levelname)-5.5s [%(name)s] %(message)s
|
|
datefmt = %H:%M:%S
|