Tag the alembic migration revisions for Mitaka
Previously when we had one repo with one alembic branch we would create a milestone revision on that single branch. Now we have multiple repos and expand/contract branches for each repo. So now we tag the final revision on every branch when we make a milestone release. The database can be upgraded with the command: neutron-db-manage upgrade <milestone> where <milestone> is an alias for all the revisions for a milestone. Closes-Bug: #1559318 Change-Id: Ie1324f8f998e1d551fc0aa3e3bc5f6a51523365a
This commit is contained in:
parent
74df4e4498
commit
e2971f49f0
@ -31,7 +31,7 @@ revision = '3c88bdea3054'
|
||||
down_revision = '393bf843b96'
|
||||
|
||||
# milestone identifier, used by neutron-db-manage
|
||||
neutron_milestone = [migration.LIBERTY]
|
||||
neutron_milestone = [migration.LIBERTY, migration.MITAKA]
|
||||
|
||||
|
||||
def upgrade():
|
||||
|
@ -20,12 +20,17 @@ Create Date: 2016-03-01 06:12:09.450116
|
||||
|
||||
"""
|
||||
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
from neutron.db import migration
|
||||
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = '4c45bcadccf9'
|
||||
down_revision = '20483029f1ff'
|
||||
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
neutron_milestone = [migration.MITAKA]
|
||||
|
||||
|
||||
def upgrade():
|
||||
|
Loading…
x
Reference in New Issue
Block a user