From b6d6d8a66a5153b9e3ad7b903b5aa540ace25fad Mon Sep 17 00:00:00 2001 From: frank Date: Tue, 6 Dec 2011 10:35:02 -0800 Subject: [PATCH] fix typo in 9e6b19e5a7d590b43745d2796fed01f60267b9be resource_state ---> allocation_state --- setup/db/db/schema-2214to30.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/db/db/schema-2214to30.sql b/setup/db/db/schema-2214to30.sql index 13886f34bc7..c3aa0acefaf 100755 --- a/setup/db/db/schema-2214to30.sql +++ b/setup/db/db/schema-2214to30.sql @@ -296,7 +296,7 @@ ALTER TABLE `cloud`.`security_group_rule` ADD CONSTRAINT `fk_security_group_rule ALTER TABLE `cloud`.`security_group_rule` ADD INDEX `i_security_group_rule_network_id`(`security_group_id`); ALTER TABLE `cloud`.`security_group_rule` ADD INDEX `i_security_group_rule_allowed_network`(`allowed_network_id`); ALTER TABLE `cloud`.`vm_template` ADD COLUMN `enable_sshkey` int(1) unsigned NOT NULL default 0 COMMENT 'true if this template supports sshkey reset'; -ALTER TABLE `cloud`.`host` DROP COLUMN `resource_state`; +ALTER TABLE `cloud`.`host` DROP COLUMN `allocation_state`; ALTER TABLE `cloud`.`host` ADD COLUMN `resource_state` varchar(32) NOT NULL DEFAULT 'Disabled' COMMENT 'Is this host enabled for allocation for new resources'; ALTER TABLE `cloud`.`vm_template` ADD COLUMN `sort_key` int(32) NOT NULL default 0 COMMENT 'sort key used for customising sort method'; ALTER TABLE `cloud`.`disk_offering` ADD COLUMN `sort_key` int(32) NOT NULL default 0 COMMENT 'sort key used for customising sort method';