mirror of https://github.com/apache/cloudstack.git
bug 9376: added missing constraints to vm_instance table
status 9376: resolved fixed
This commit is contained in:
parent
f6b8f23751
commit
aea0a7326a
|
|
@ -129,3 +129,6 @@ ALTER TABLE `cloud`.`op_dc_link_local_ip_address_alloc` CHANGE COLUMN `instance_
|
|||
|
||||
DELETE FROM `cloud`.`sequence` WHERE name='snapshots_seq';
|
||||
UPDATE `cloud`.`service_offering` s, `cloud`.`disk_offering` d SET s.ha_enabled=1 where s.id=d.id and d.system_use=1;
|
||||
|
||||
ALTER TABLE `cloud`.`vm_instance` ADD CONSTRAINT `fk_vm_instance__account_id` FOREIGN KEY `fk_vm_instance__account_id` (`account_id`) REFERENCES `account` (`id`);
|
||||
ALTER TABLE `cloud`.`vm_instance` ADD CONSTRAINT `fk_vm_instance__service_offering_id` FOREIGN KEY `fk_vm_instance__service_offering_id` (`service_offering_id`) REFERENCES `service_offering` (`id`);
|
||||
|
|
|
|||
Loading…
Reference in New Issue