mirror of https://github.com/apache/cloudstack.git
make instance_id unique to allow usage of ON DUPLICATE KEY
This commit is contained in:
parent
c8712401ca
commit
35f44615e0
|
|
@ -1423,7 +1423,7 @@ CREATE TABLE `cloud`.`op_vm_ruleset_log` (
|
|||
`created` datetime NOT NULL COMMENT 'time the entry was requested',
|
||||
`logsequence` bigint unsigned COMMENT 'seq number to be sent to agent, uniquely identifies ruleset update',
|
||||
PRIMARY KEY (`id`),
|
||||
INDEX `i_op_vm_ruleset_log__instance_id`(`instance_id`)
|
||||
UNIQUE `i_op_vm_ruleset_log__instance_id`(`instance_id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
CREATE TABLE `cloud`.`instance_group` (
|
||||
|
|
|
|||
Loading…
Reference in New Issue