mirror of https://github.com/apache/cloudstack.git
Merge pull request #657 from @karuturi
CLOUDSTACK-8696: Create Region fails with exception * pr/657: CLOUDSTACK-8696: Create Region fails with exception Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
This commit is contained in:
commit
7ac795f825
|
|
@ -398,3 +398,7 @@ CREATE TABLE `cloud`.`external_bigswitch_bcf_devices` (
|
|||
CONSTRAINT `fk_external_bigswitch_bcf_devices__host_id` FOREIGN KEY (`host_id`) REFERENCES `host`(`id`) ON DELETE CASCADE,
|
||||
CONSTRAINT `fk_external_bigswitch_bcf_devices__physical_network_id` FOREIGN KEY (`physical_network_id`) REFERENCES `physical_network`(`id`) ON DELETE CASCADE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
SET foreign_key_checks = 0;
|
||||
ALTER TABLE `cloud`.`region` MODIFY `id` int unsigned UNIQUE NOT NULL;
|
||||
SET foreign_key_checks = 1;
|
||||
|
|
|
|||
Loading…
Reference in New Issue