From c122a9d24e8f1e55977c1bb29cdea539ec6baacf Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Wed, 9 Mar 2016 15:16:17 -0800 Subject: [PATCH] Update out script.py mako template to support branch_labels This is important (probably) for long-running plugin branches. * mediagoblin/db/migrations/script.py.mako: Updated to upstream Alembic version of this file. --- mediagoblin/db/migrations/script.py.mako | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mediagoblin/db/migrations/script.py.mako b/mediagoblin/db/migrations/script.py.mako index 95702017..43c09401 100644 --- a/mediagoblin/db/migrations/script.py.mako +++ b/mediagoblin/db/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 -- 2.25.1