]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Remove restriction of adding constraints to expand
authorKevin Benton <blak111@gmail.com>
Wed, 16 Sep 2015 20:08:57 +0000 (13:08 -0700)
committerKevin Benton <blak111@gmail.com>
Wed, 16 Sep 2015 20:26:10 +0000 (13:26 -0700)
commitd8a5e23e875643ee184fd1d8c04c5d586c80d313
tree9743ec37a950b5e19c7880d9a2f11666c3589671
parent693db7cf7cac4c0fc4aeaffd113b9d833a950a52
Remove restriction of adding constraints to expand

Adding a constraint to a table shouldn't be restricted
to an expand operation. There can be contraction migrations
required before the constraint can be safely added (e.g. inserting
records into the target table of the constraint).

Change-Id: I1963facaa6ab1916d92c044f90b6c00291f00ab9
neutron/db/migration/__init__.py
neutron/tests/functional/db/test_migrations.py