Change migration filename
To visually show the order of migrations
This commit is contained in:
parent
1393b80970
commit
1848e5a944
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue