Tag the alembic migration revisions for Queens
This allows the database to be upgraded with the command: neutron-db-manage upgrade queens Change-Id: Ia6ce7c636ac48468ba5ada7c31ff74f504b4fc1a
This commit is contained in:
parent
52b00656e7
commit
2f15090725
@ -29,6 +29,9 @@ import sqlalchemy as sa
|
|||||||
|
|
||||||
from neutron.db import migration
|
from neutron.db import migration
|
||||||
|
|
||||||
|
# milestone identifier, used by neutron-db-manage
|
||||||
|
neutron_milestone = [migration.QUEENS]
|
||||||
|
|
||||||
|
|
||||||
def upgrade():
|
def upgrade():
|
||||||
|
|
||||||
|
@ -27,8 +27,12 @@ down_revision = 'ea7a72ab9643'
|
|||||||
from alembic import op
|
from alembic import op
|
||||||
import sqlalchemy as sa
|
import sqlalchemy as sa
|
||||||
|
|
||||||
|
from neutron.db import migration
|
||||||
|
|
||||||
plugin_type_enum = sa.Enum('dvs', 'nsx-v', 'nsx-t',
|
plugin_type_enum = sa.Enum('dvs', 'nsx-v', 'nsx-t',
|
||||||
name='nsx_plugin_type')
|
name='nsx_plugin_type')
|
||||||
|
# milestone identifier, used by neutron-db-manage
|
||||||
|
neutron_milestone = [migration.QUEENS]
|
||||||
|
|
||||||
|
|
||||||
def upgrade():
|
def upgrade():
|
||||||
|
Loading…
Reference in New Issue
Block a user