summaryrefslogtreecommitdiff
path: root/alembic/templates/generic/alembic.ini.mako
diff options
context:
space:
mode:
Diffstat (limited to 'alembic/templates/generic/alembic.ini.mako')
-rw-r--r--alembic/templates/generic/alembic.ini.mako5
1 files changed, 3 insertions, 2 deletions
diff --git a/alembic/templates/generic/alembic.ini.mako b/alembic/templates/generic/alembic.ini.mako
index 9afeb2d..5268e7c 100644
--- a/alembic/templates/generic/alembic.ini.mako
+++ b/alembic/templates/generic/alembic.ini.mako
@@ -4,8 +4,9 @@
# path to migration scripts
script_location = ${script_location}
-# template used to generate migration files
-# file_template = %%(rev)s_%%(slug)s
+# template used to generate migration file names; The default value is %%(rev)s_%%(slug)s
+# Uncomment the line below if you want the files to be prepended with date and time
+# 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.
# defaults to the current working directory.