Merge "Tag the alembic migration revisions for Newton"
This commit is contained in:
commit
0f175bab1a
@ -27,13 +27,16 @@ down_revision = '2ecce0368a62'
|
||||
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
from sqlalchemy.engine import reflection
|
||||
|
||||
from neutron.db import migration
|
||||
|
||||
|
||||
_INSPECTOR = None
|
||||
|
||||
# milestone identifier, used by neutron-db-manage
|
||||
neutron_milestone = [migration.NEWTON]
|
||||
|
||||
|
||||
def get_inspector():
|
||||
"""Reuse inspector."""
|
||||
|
@ -25,10 +25,15 @@ revision = 'fddbdec8711a'
|
||||
down_revision = '04625466c6fa'
|
||||
|
||||
from alembic import op
|
||||
from neutron.db import migration
|
||||
from neutron_lib import constants
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
# milestone identifier, used by neutron-db-manage
|
||||
neutron_milestone = [migration.NEWTON]
|
||||
|
||||
|
||||
def upgrade():
|
||||
op.add_column('tap_services', sa.Column('status', sa.String(16),
|
||||
server_default=constants.ACTIVE,
|
||||
|
Loading…
x
Reference in New Issue
Block a user