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. Partial-Bug: #1552935 Change-Id: I66961aeaa2eef586eae11ee4eb08f61ebb91e54b
This commit is contained in:
parent
cb4ec40a62
commit
c4cd13d903
@ -30,7 +30,7 @@ down_revision = 'kilo'
|
||||
branch_labels = (cli.CONTRACT_BRANCH,)
|
||||
|
||||
# milestone identifier, used by neutron-db-manage
|
||||
neutron_milestone = [migration.LIBERTY]
|
||||
neutron_milestone = [migration.LIBERTY, migration.MITAKA]
|
||||
|
||||
|
||||
def upgrade():
|
||||
|
@ -22,11 +22,17 @@ Create Date: 2016-03-02 08:42:37.737281
|
||||
|
||||
"""
|
||||
|
||||
from alembic import op
|
||||
|
||||
from neutron.db import migration
|
||||
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = '62deca5010cd'
|
||||
down_revision = '3543deab1547'
|
||||
|
||||
from alembic import op
|
||||
# milestone identifier, used by neutron-db-manage
|
||||
neutron_milestone = [migration.MITAKA]
|
||||
|
||||
|
||||
def upgrade():
|
||||
|
Loading…
Reference in New Issue
Block a user