Change migration filename

To visually show the order of migrations
This commit is contained in:
doanguyen 2019-12-25 20:58:06 +01:00 committed by Son Nguyen Kim
parent 1393b80970
commit 1848e5a944
1 changed files with 1 additions and 1 deletions

View File

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