mirror of https://github.com/apache/cloudstack.git
bug 14499: Added account uuid unique contstraint for upgrade in usage DB
status 14499: resolved fixed reviewed-by: Nitin
This commit is contained in:
parent
58546e9a06
commit
e30e008644
|
|
@ -24,3 +24,5 @@ INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Account Defaults', 'DEFAULT'
|
|||
UPDATE snapshots SET removed=now() WHERE removed IS NULL AND sechost_id IN (SELECT id FROM host WHERE type='SecondaryStorage' AND removed IS NOT NULL);
|
||||
|
||||
ALTER TABLE `cloud_usage`.`usage_ip_address` MODIFY COLUMN `is_system` smallint(1) NOT NULL default '0';
|
||||
|
||||
ALTER TABLE `cloud_usage`.`account` ADD CONSTRAINT `uc_account__uuid` UNIQUE (`uuid`);
|
||||
|
|
|
|||
Loading…
Reference in New Issue