From 1a9363b723af0e23ed189f6315fe722633ce035e Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Fri, 17 Jun 2016 09:51:23 +0200 Subject: [PATCH] Update make template for revision making. --- migrations/script.py.mako | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/migrations/script.py.mako b/migrations/script.py.mako index 9570201..43c0940 100644 --- a/migrations/script.py.mako +++ b/migrations/script.py.mako @@ -1,7 +1,7 @@ """${message} Revision ID: ${up_revision} -Revises: ${down_revision} +Revises: ${down_revision | comma,n} Create Date: ${create_date} """ @@ -9,6 +9,8 @@ Create Date: ${create_date} # revision identifiers, used by Alembic. revision = ${repr(up_revision)} down_revision = ${repr(down_revision)} +branch_labels = ${repr(branch_labels)} +depends_on = ${repr(depends_on)} from alembic import op import sqlalchemy as sa