mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 11:52:28 +01:00
2.2beta4 to GA upgrade changes
This commit is contained in:
parent
ebc366c9f3
commit
70b5a7224f
@ -87,7 +87,10 @@ ALTER TABLE `cloud_usage`.`usage_network` drop PRIMARY KEY;
|
||||
ALTER TABLE `cloud_usage`.`usage_network` add PRIMARY KEY (`account_id`, `zone_id`, `host_id`, `event_time_millis`);
|
||||
|
||||
ALTER TABLE `cloud_usage`.`usage_ip_address` ADD COLUMN `id` bigint unsigned NOT NULL;
|
||||
ALTER TABLE `cloud_usage`.`usage_ip_address` ADD COLUMN `is_source_nat` smallint(1) NOT NULL;
|
||||
ALTER TABLE `cloud_usage`.`usage_ip_address` ADD COLUMN `is_source_nat` smallint(1) NOT NULL default 0;
|
||||
|
||||
update `cloud`.`usage_event` SET size = 0 where type = 'NET.IPASSIGN' and size is null;
|
||||
update `cloud_usage`.`usage_event` SET size = 0 where type = 'NET.IPASSIGN' and size is null;
|
||||
|
||||
ALTER TABLE `cloud_usage`.`cloud_usage` ADD COLUMN `type` varchar(32);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user