CLOUDSTACK-6068: set display flag to true in service/disk_offering_details tables (cherry picked from commit 1cfbfab8162b82b30d797d4805112a75cfef3ce0)
Signed-off-by: Animesh Chaturvedi <anim...@apache.org> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/7016e6a0 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/7016e6a0 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/7016e6a0 Branch: refs/heads/4.3 Commit: 7016e6a03877ef283fc4d5ec70f6a03d2c33f9ee Parents: 8673ca1 Author: Alena Prokharchyk <alena.prokharc...@citrix.com> Authored: Mon Feb 10 17:15:50 2014 -0800 Committer: Animesh Chaturvedi <anim...@apache.org> Committed: Thu Feb 13 15:44:43 2014 -0800 ---------------------------------------------------------------------- setup/db/db/schema-421to430.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/7016e6a0/setup/db/db/schema-421to430.sql ---------------------------------------------------------------------- diff --git a/setup/db/db/schema-421to430.sql b/setup/db/db/schema-421to430.sql index dc6131d..b55e388 100644 --- a/setup/db/db/schema-421to430.sql +++ b/setup/db/db/schema-421to430.sql @@ -1097,5 +1097,5 @@ INSERT IGNORE INTO `cloud`.`configuration`(category, instance, component, name, ALTER TABLE `cloud`.`service_offering_details` CHANGE `display` `display` tinyint(1) NOT NULL DEFAULT '1' COMMENT 'True if the detail can be displayed to the end user'; UPDATE `cloud`.`service_offering_details` set `display`=1 where id> 0; -ALTER TABLE `cloud`.`disk_offering_details` CHANGE `display` `display` tinyint(1) NOT NULL DEFAULT '1' COMMENT 'True if the detail can be displayed to the end user'; -UPDATE `cloud`.`disk_offering_details` set `display`=1 where id> 0; +ALTER TABLE `cloud`.`disk_offering_details` CHANGE `display_detail` `display_detail` tinyint(1) NOT NULL DEFAULT '1' COMMENT 'True if the detail can be displayed to the end user'; +UPDATE `cloud`.`disk_offering_details` set `display_detail`=1 where id> 0;