Files
web/alembic.ini
2026-11-06 11:42:34 -05:00

14 lines
556 B
INI

# Alembic = database migrations. The database URL comes from app/config.py
# (DATABASE_URL), not from this file.
#
# alembic upgrade head apply all migrations
# alembic revision --autogenerate -m "add x" after editing app/models.py
# alembic history list migrations
#
# The app also runs `upgrade head` by itself on start (AUTO_MIGRATE=true).
[alembic]
script_location = %(here)s/migrations
prepend_sys_path = .
file_template = %%(year)d%%(month).2d%%(day).2d_%%(rev)s_%%(slug)s