Tag the alembic migration revisions for Newton
This allows the database to be upgraded with the command: neutron-db-manage upgrade newton Partial-Bug: #1623108 Change-Id: I5b9c02814bdc1945422184a84c49f9e67dcf24a9
This commit is contained in:
parent
2c12add84d
commit
ed8962b25f
@ -13,10 +13,16 @@
|
||||
|
||||
"""Remove availability ranges."""
|
||||
|
||||
from alembic import op
|
||||
|
||||
from neutron.db import migration
|
||||
|
||||
|
||||
revision = '5c85685d616d'
|
||||
down_revision = '2e0d7a8a1586'
|
||||
|
||||
from alembic import op
|
||||
# milestone identifier, used by neutron-db-manage
|
||||
neutron_milestone = [migration.NEWTON]
|
||||
|
||||
|
||||
def upgrade():
|
||||
|
@ -13,12 +13,18 @@
|
||||
|
||||
"""Add ip_allocation to port """
|
||||
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
from neutron.db import migration
|
||||
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = '5cd92597d11d'
|
||||
down_revision = '6b461a21bcfc'
|
||||
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
# milestone identifier, used by neutron-db-manage
|
||||
neutron_milestone = [migration.NEWTON]
|
||||
|
||||
|
||||
def upgrade():
|
||||
|
Loading…
Reference in New Issue
Block a user