801e6a050b
- Documentation archivée et réorganisée - Backend: Ajout tests, migrations, library service, rate limiting - Frontend: Suppression Flutter, focus sur interface web HTML/JS - Tailwind CSS ajouté pour le style - Améliorations UX et corrections bugs Generated with [Claude Code](https://claude.com/claude-code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
59 lines
1.2 KiB
INI
59 lines
1.2 KiB
INI
# A generic, single database configuration for Alembic
|
|
|
|
[alembic]
|
|
# Path to migration scripts
|
|
script_location = alembic
|
|
|
|
# Template used to generate migration files
|
|
file_template = %%(year)d%%(month).2d%%(day).2d_%%(hour).2d%%(minute).2d_%%(rev)s_%%(slug)s
|
|
|
|
# sys.path path, will be prepended to sys.path if present.
|
|
prepend_sys_path = .
|
|
|
|
# Version path separator
|
|
version_path_separator = os
|
|
|
|
# The output encoding used when revision files are written
|
|
output_encoding = utf-8
|
|
|
|
# Database URL - will be overridden by env.py to use settings from .env
|
|
sqlalchemy.url = postgresql://spotify:spotify_password@localhost:5432/spotify_le_2
|
|
|
|
[post_write_hooks]
|
|
# Post-write hooks go here
|
|
|
|
# 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
|