Fixed 221 to 222 upgrade script - guestIPType can be null in network offering

This commit is contained in:
alena 2011-03-26 16:32:45 -07:00
parent 8c61e10c08
commit 530cb9e77b
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ INSERT INTO configuration (`category`, `instance`, `component`, `name`, `value`,
alter table user_statistics add column `network_id` bigint unsigned;
update op_networks set nics_count=(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;
alter table network_offerings add column `guest_type` char(32);
update network_offerings set guest_type='Direct' where id=5;
update network_offerings set guest_type='Virtual' where id=6;
update network_offerings set guest_type='Direct' where id=7;