From 7e1472888e76b92364cc30b4c81b6ca1c088278a Mon Sep 17 00:00:00 2001 From: Armando Migliaccio Date: Thu, 10 Aug 2017 21:00:10 -0700 Subject: [PATCH] DB migration checklist task for Pike Change-Id: I4a51e96800bfac31f7d4e0879f32e81e78afbd85 --- neutron/db/migration/__init__.py | 1 + .../versions/pike/expand/7d32f979895f_add_mtu_for_networks.py | 4 ++++ 2 files changed, 5 insertions(+) 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',