Tag the alembic migration revisions for Pike

This allows the database to be upgraded with the command:
  neutron-db-manage upgrade pike

Change-Id: I05116d4652f658ddc845be07f0286b8193e99fde
This commit is contained in:
Abhishek Raut 2017-08-22 15:56:16 -07:00
parent 0fb50b8089
commit 36b01038b3
2 changed files with 9 additions and 0 deletions

View File

@ -26,6 +26,12 @@ down_revision = '8c0a81a07691'
from alembic import op
from sqlalchemy.engine import reflection
from neutron.db import migration
# milestone identifier, used by neutron-db-manage
neutron_milestone = [migration.PIKE]
def upgrade():
table_name = 'neutron_nsx_qos_policy_mappings'

View File

@ -30,6 +30,9 @@ Create Date: 2017-06-12 16:59:48.021909
revision = 'ea7a72ab9643'
down_revision = '53eb497903a4'
# milestone identifier, used by neutron-db-manage
neutron_milestone = [migration.PIKE]
def upgrade():
op.create_table(