# Alembic configuration file for Paper Dynasty Game Engine [alembic] # Path to migration scripts script_location = alembic # Template used to generate migration files file_template = %%(rev)s_%%(slug)s # Output encoding output_encoding = utf-8 # Truncate database identifiers to this length truncate_slug_length = 40 # Revision IDs to use for new migrations (default is 12 char hex) revision_environment = false # sourceless mode - ignore .pyc files sourceless = false # version path separator (OS agnostic) version_path_separator = os [post_write_hooks] # Optional Ruff formatting after generating migrations # hooks = ruff # ruff.type = console_scripts # ruff.entrypoint = ruff # ruff.options = format REVISION_SCRIPT_FILENAME # 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