storage_ip_address in host table can be NULL

This commit is contained in:
anthony 2011-09-13 11:14:44 -07:00
parent c5bc16ef42
commit 162e5cf50a
2 changed files with 3 additions and 1 deletions

View File

@ -664,7 +664,7 @@ CREATE TABLE `cloud`.`host` (
`private_ip_address` char(40) NOT NULL,
`private_netmask` varchar(15),
`private_mac_address` varchar(17),
`storage_ip_address` char(40) NOT NULL,
`storage_ip_address` char(40),
`storage_netmask` varchar(15),
`storage_mac_address` varchar(17),
`storage_ip_address_2` char(40),

View File

@ -18,3 +18,5 @@ INSERT IGNORE INTO configuration VALUES ('Advanced', 'DEFAULT', 'management-serv
update `cloud`.`vm_template` set hypervisor_type='XenServer' where unique_name='xs-tools.iso';
ALTER TABLE `cloud`.`host` MODIFY COLUMN `storage_ip_address` char(40);