diff --git a/neutron/db/migration/__init__.py b/neutron/db/migration/__init__.py index 215efe710ce..8ca2d1e8ec9 100644 --- a/neutron/db/migration/__init__.py +++ b/neutron/db/migration/__init__.py @@ -35,6 +35,7 @@ NEUTRON_MILESTONES = [ MITAKA, NEWTON, OCATA, + PIKE, # Do not add the milestone until the end of the release ] diff --git a/neutron/db/migration/alembic_migrations/versions/pike/expand/7d32f979895f_add_mtu_for_networks.py b/neutron/db/migration/alembic_migrations/versions/pike/expand/7d32f979895f_add_mtu_for_networks.py index fc9c202c04b..2b468111518 100644 --- a/neutron/db/migration/alembic_migrations/versions/pike/expand/7d32f979895f_add_mtu_for_networks.py +++ b/neutron/db/migration/alembic_migrations/versions/pike/expand/7d32f979895f_add_mtu_for_networks.py @@ -22,6 +22,8 @@ Create Date: 2017-07-13 19:25:29.204547 from alembic import op import sqlalchemy as sa +from neutron.db import migration + # revision identifiers, used by Alembic. revision = '7d32f979895f' @@ -30,6 +32,8 @@ down_revision = '349b6fd605a6' # require the migration rule that dropped the mtu column in the past depends_on = ('b67e765a3524',) +neutron_milestone = [migration.PIKE] + def upgrade(): op.add_column('networks',