Skip to content

Instantly share code, notes, and snippets.

@sstrato
Created August 24, 2017 15:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sstrato/8b2c9402b6408b4b8e8992df4da16276 to your computer and use it in GitHub Desktop.
Save sstrato/8b2c9402b6408b4b8e8992df4da16276 to your computer and use it in GitHub Desktop.
delete unique ip constraint
diff --git a/neutron/db/migration/alembic_migrations/core_init_ops.py b/neutron/db/migration/alembic_mi
index 0c074d0b9..a76cb0e38 100644
--- a/neutron/db/migration/alembic_migrations/core_init_ops.py
+++ b/neutron/db/migration/alembic_migrations/core_init_ops.py
@@ -117,4 +117,3 @@ def upgrade():
sa.ForeignKeyConstraint(['subnet_id'], ['subnets.id'],
- ondelete='CASCADE'),
- sa.PrimaryKeyConstraint('ip_address', 'subnet_id', 'network_id'))
+ ondelete='CASCADE'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment