mirror of https://github.com/apache/cloudstack.git
Added tp the table op_dc_vnet_alloc foreign key references to physical_network & data_center
This commit is contained in:
parent
5e6fedb7ff
commit
8836a08e60
|
|
@ -563,7 +563,9 @@ CREATE TABLE `cloud`.`op_dc_vnet_alloc` (
|
|||
PRIMARY KEY (`id`),
|
||||
UNIQUE `i_op_dc_vnet_alloc__vnet__data_center_id__account_id`(`vnet`, `data_center_id`, `account_id`),
|
||||
INDEX `i_op_dc_vnet_alloc__dc_taken`(`data_center_id`, `taken`),
|
||||
UNIQUE `i_op_dc_vnet_alloc__vnet__data_center_id`(`vnet`, `data_center_id`)
|
||||
UNIQUE `i_op_dc_vnet_alloc__vnet__data_center_id`(`vnet`, `data_center_id`),
|
||||
CONSTRAINT `fk_op_dc_vnet_alloc__data_center_id` FOREIGN KEY (`data_center_id`) REFERENCES `data_center`(`id`) ON DELETE CASCADE,
|
||||
CONSTRAINT `fk_op_dc_vnet_alloc__physical_network_id` FOREIGN KEY (`physical_network_id`) REFERENCES `physical_network`(`id`) ON DELETE CASCADE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
CREATE TABLE `cloud`.`firewall_rules` (
|
||||
|
|
|
|||
Loading…
Reference in New Issue