Bug 14497 - 3.0->3.0.1Upgrade: Defualt value for "resource_state" field in host table differs from upgraded to fresh installed 3.0.1 schema.

status 14497: resolved fixed
reviewed-by: edison
This commit is contained in:
frank 2012-03-26 14:52:11 -07:00
parent 0173da4cf8
commit 71229f9790
1 changed files with 2 additions and 0 deletions

View File

@ -26,3 +26,5 @@ UPDATE snapshots SET removed=now() WHERE removed IS NULL AND sechost_id IN (SELE
ALTER TABLE `cloud_usage`.`usage_ip_address` MODIFY COLUMN `is_system` smallint(1) NOT NULL default '0';
ALTER TABLE `cloud_usage`.`account` ADD CONSTRAINT `uc_account__uuid` UNIQUE (`uuid`);
ALTER TABLE `cloud`.`host` ALTER COLUMN `resource_state` SET DEFAULT 'Enabled';