diff --git a/setup/db/db/schema-30to301.sql b/setup/db/db/schema-30to301.sql index 894590a45a2..4449c8b8257 100755 --- a/setup/db/db/schema-30to301.sql +++ b/setup/db/db/schema-30to301.sql @@ -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';