]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Use different name for the same constraint
authorjun xie <junxiebj@cn.ibm.com>
Wed, 19 Mar 2014 10:01:52 +0000 (18:01 +0800)
committerjun xie <junxiebj@cn.ibm.com>
Thu, 20 Mar 2014 02:26:37 +0000 (10:26 +0800)
commit5d6cb0c62e0245735a9d511d2f871776055ff224
treefdfe3ff17d93501e9173ffb1482cae13459366d1
parentcf1e0c4e436d6c1f39623c68eebb6da77d1008fd
Use different name for the same constraint

In DB2, a constraint-name must not identify a constraint
that was already specified within the same CREATE TABLE
statement. The current CREATE TABLE statement uses the same
constraint name 'ipv6_modes' for both ipv6_ra_mode and
ipv6_address_mode column. This change tries to use different
names.

Change-Id: Id4d82fb7e0e570a843e28856e531e25578a4351a
Closes-Bug: #1294568
neutron/db/migration/alembic_migrations/versions/2447ad0e9585_add_ipv6_mode_props.py
neutron/db/models_v2.py