Some database engines require exact match of sizes of foreign keys
and referenced fields. Foreign key router_id of table
cisco_ml2_apic_contracts is varchar(64) but it references field
id varchar(36) of table routers. This gives error while running
migration scripts in such databases.
This change only applies to new OpenStack installations
Reviewed: https:/ /review. openstack. org/192615 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=ee1477ac1a8 ef90413a0cb2acf 90cd1b2889882b
Committed: https:/
Submitter: Jenkins
Branch: master
commit ee1477ac1a8ef90 413a0cb2acf90cd 1b2889882b
Author: Vladislav Belogrudov <email address hidden>
Date: Wed Jun 17 14:20:16 2015 +0300
Correct cisco_ml2_ apic_contracts. router_ id length
Some database engines require exact match of sizes of foreign keys ml2_apic_ contracts is varchar(64) but it references field
and referenced fields. Foreign key router_id of table
cisco_
id varchar(36) of table routers. This gives error while running
migration scripts in such databases.
This change only applies to new OpenStack installations
Change-Id: I94a21ffbb82446 499b1a55bd8b666 d7395e4908a
Related-Bug: #1463806
Closes-Bug: #1465678