GuestIP field can be null in network_offerings table - fixed 221 to 222 upgrade script

This commit is contained in:
alena 2011-03-26 17:06:28 -07:00
parent 04551d59ea
commit 08036d5312
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,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;