From: Mark McClain Date: Wed, 26 Feb 2014 18:24:55 +0000 (-0500) Subject: Remove import extension dep from db migration X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=608294f661e5ae921736aa0acee4f2b339d5b952;p=openstack-build%2Fneutron-build.git Remove import extension dep from db migration Change-Id: Ic8907a9960807b30d8b89df0ee29e42b26a7675a Closes-bug:1285294 --- diff --git a/neutron/db/migration/alembic_migrations/versions/27cc183af192_ml2_vnic_type.py b/neutron/db/migration/alembic_migrations/versions/27cc183af192_ml2_vnic_type.py index 00cf029ad..db38e65a2 100644 --- a/neutron/db/migration/alembic_migrations/versions/27cc183af192_ml2_vnic_type.py +++ b/neutron/db/migration/alembic_migrations/versions/27cc183af192_ml2_vnic_type.py @@ -35,7 +35,6 @@ from alembic import op import sqlalchemy as sa from neutron.db import migration -from neutron.extensions import portbindings def upgrade(active_plugins=None, options=None): @@ -45,7 +44,7 @@ def upgrade(active_plugins=None, options=None): op.add_column('ml2_port_bindings', sa.Column('vnic_type', sa.String(length=64), nullable=False, - server_default=portbindings.VNIC_NORMAL)) + server_default='normal')) def downgrade(active_plugins=None, options=None):