From 608294f661e5ae921736aa0acee4f2b339d5b952 Mon Sep 17 00:00:00 2001 From: Mark McClain Date: Wed, 26 Feb 2014 13:24:55 -0500 Subject: [PATCH] Remove import extension dep from db migration Change-Id: Ic8907a9960807b30d8b89df0ee29e42b26a7675a Closes-bug:1285294 --- .../alembic_migrations/versions/27cc183af192_ml2_vnic_type.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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): -- 2.45.2