mirror of https://github.com/apache/cloudstack.git
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 Conflicts: setup/db/db/schema-30to301.sql
This commit is contained in:
parent
4ae1fac40f
commit
eb8975670f
|
|
@ -27,3 +27,7 @@ INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Account Defaults', 'DEFAULT'
|
|||
UPDATE snapshots SET removed=now() WHERE removed IS NULL AND sechost_id IN (SELECT id FROM host WHERE type='SecondaryStorage' AND removed IS NOT NULL);
|
||||
|
||||
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';
|
||||
|
|
|
|||
Loading…
Reference in New Issue