Tag the alembic migration revisions for Queens

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

Change-Id: Ia33058ec98e76204dd96060c80299a837cc46fce
This commit is contained in:
Gary Kotton 2018-02-09 07:12:42 +02:00
parent 3562fb4305
commit cc7f704848
1 changed files with 5 additions and 0 deletions

View File

@ -26,6 +26,11 @@ down_revision = '4cf8bc3edb66'
from alembic import op
import sqlalchemy as sa
from neutron.db import migration
# milestone identifier, used by neutron-db-manage
neutron_milestone = [migration.QUEENS]
def upgrade():
op.alter_column('bgp_speakers', 'local_as', nullable=False,