mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
bug 8601: more upgrade fine tuning
This commit is contained in:
parent
c26de0b3e1
commit
d50a6a2e97
@ -13,9 +13,9 @@ alter table user_statistics add column `network_id` bigint unsigned;
|
||||
update op_networks set nics_count=1 where id in (select d.network_id from domain_router d, vm_instance i where i.state='Running' and i.id=d.id);
|
||||
update network_offerings set traffic_type='Guest' where system_only=0;
|
||||
alter table network_offerings add column `guest_type` char(32) NOT NULL;
|
||||
update network_offerings set guest_type='System-Guest-Network' where traffic_type='Direct';
|
||||
update network_offerings set guest_type='DefaultVirtualizedNetworkOffering' where traffic_type='Virtual';
|
||||
update network_offerings set guest_type='DefaultDirectNetworkOffering' where traffic_type='Direct';
|
||||
update network_offerings set traffic_type='Direct' where id=5;
|
||||
update network_offerings set traffic_type='Virtual' where id=6;
|
||||
update network_offerings set traffic_type='Direct' where id=7;
|
||||
alter table op_it_work add column `vm_type` char(32) NOT NULL;
|
||||
update op_it_work set vm_type=(select type from vm_instance where vm_instance.id=op_it_work.instance_id);
|
||||
alter table networks add column `is_security_group_enabled` tinyint NOT NULL DEFAULT 0 COMMENT '1: enabled, 0: not';
|
||||
|
||||
@ -11,9 +11,9 @@ alter table user_statistics add column `network_id` bigint unsigned;
|
||||
update op_networks set nics_count=1 where id in (select d.network_id from domain_router d, vm_instance i where i.state='Running' and i.id=d.id);
|
||||
update network_offerings set traffic_type='Guest' where system_only=0;
|
||||
alter table network_offerings add column `guest_type` char(32) NOT NULL;
|
||||
update network_offerings set guest_type='System-Guest-Network' where traffic_type='Direct';
|
||||
update network_offerings set guest_type='DefaultVirtualizedNetworkOffering' where traffic_type='Virtual';
|
||||
update network_offerings set guest_type='DefaultDirectNetworkOffering' where traffic_type='Direct';
|
||||
update network_offerings set traffic_type='Direct' where id=5;
|
||||
update network_offerings set traffic_type='Virtual' where id=6;
|
||||
update network_offerings set traffic_type='Direct' where id=7;
|
||||
alter table op_it_work add column `vm_type` char(32) NOT NULL;
|
||||
update op_it_work set vm_type=(select type from vm_instance where vm_instance.id=op_it_work.instance_id);
|
||||
alter table networks add column `is_security_group_enabled` tinyint NOT NULL DEFAULT 0 COMMENT '1: enabled, 0: not';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user