chore: update SQLAlchemy configuration with custom naming convention (#6854)

This commit is contained in:
-LAN-
2024-08-01 11:16:49 +08:00
committed by GitHub
parent 56b43f62d1
commit feb4576ee7
2 changed files with 12 additions and 1 deletions

View File

@@ -3,6 +3,7 @@
[alembic]
# template used to generate migration files
# file_template = %%(rev)s_%%(slug)s
file_template = %%(year)d_%%(month).2d_%%(day).2d_%%(hour).2d%%(minute).2d-%%(rev)s_%%(slug)s
# set to 'true' to run the environment during
# the 'revision' command, regardless of autogenerate