Current location

narf Source control manager Git

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2016-03-09 15:16:17 -0800
committerChristopher Allan Webber <cwebber@dustycloud.org>2016-03-26 11:39:07 -0700
commitc122a9d24e8f1e55977c1bb29cdea539ec6baacf (patch)
tree6d48c85001322cf94182b732f79792f93d97d3ca
parent05879c1c76045679eae5110c7580f9e0533dfd8c (diff)
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.
-rw-r--r--mediagoblin/db/migrations/script.py.mako4
1 files changed, 3 insertions, 1 deletions
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