CLOUDSTACK-8265: added foreign key constriant on guest os id

This commit is contained in:
Abhinandan Prateek 2015-03-03 01:45:48 -05:00
parent ef99f01e59
commit 58c5850bee
1 changed files with 1 additions and 0 deletions

View File

@ -1024,3 +1024,4 @@ INSERT IGNORE INTO `cloud`.`configuration` (`category`, `instance`, `component`,
UPDATE `cloud`.`configuration` SET description='Uuid of the service offering used by secondary storage; if NULL - system offering will be used' where name='secstorage.service.offering';
ALTER TABLE `cloud`.`guest_os_hypervisor` ADD FOREIGN KEY (`guest_os_id`) REFERENCES `cloud`.`guest_os`(`id`);