cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject [1/2] git commit: updated refs/heads/master to f850b38
Date Thu, 15 Dec 2016 06:40:35 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 17653a86f -> f850b381a


CLOUDSTACK-9671: Fix sql change to corresponding version paths

- Fixes issue of failing upgrade paths
- Moves schema changes from PR #1615 in the 4.9.1.0 to 4.10.0.0 sql path

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/dd321a6d
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/dd321a6d
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/dd321a6d

Branch: refs/heads/master
Commit: dd321a6de335aaa32edec45a916c0bccf8201f42
Parents: 17653a8
Author: Rohit Yadav <rohit.yadav@shapeblue.com>
Authored: Thu Dec 15 12:00:47 2016 +0530
Committer: Rohit Yadav <rohit.yadav@shapeblue.com>
Committed: Thu Dec 15 12:00:47 2016 +0530

----------------------------------------------------------------------
 setup/db/db/schema-481to490.sql    | 4 ----
 setup/db/db/schema-4910to41000.sql | 5 +++++
 2 files changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/dd321a6d/setup/db/db/schema-481to490.sql
----------------------------------------------------------------------
diff --git a/setup/db/db/schema-481to490.sql b/setup/db/db/schema-481to490.sql
index 2a3749f..7f33043 100644
--- a/setup/db/db/schema-481to490.sql
+++ b/setup/db/db/schema-481to490.sql
@@ -546,7 +546,3 @@ INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` (uuid,hypervisor_type,
hypervis
 INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` (uuid,hypervisor_type, hypervisor_version,
guest_os_name, guest_os_id, created, is_user_defined) VALUES (UUID(), 'VMware', '5.1', 'centos64Guest',
228, now(), 0);
 INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` (uuid,hypervisor_type, hypervisor_version,
guest_os_name, guest_os_id, created, is_user_defined) VALUES (UUID(), 'VMware', '5.5', 'centos64Guest',
228, now(), 0);
 
-ALTER TABLE `cloud`.`image_store_details` CHANGE COLUMN `value` `value` VARCHAR(255) NULL
DEFAULT NULL COMMENT 'value of the detail', ADD COLUMN `display` tinyint(1) NOT 
-NULL DEFAULT '1' COMMENT 'True if the detail can be displayed to the end user' AFTER `value`;
-
-ALTER TABLE `snapshots` ADD COLUMN `location_type` VARCHAR(32) COMMENT 'Location of snapshot
(ex. Primary)';

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/dd321a6d/setup/db/db/schema-4910to41000.sql
----------------------------------------------------------------------
diff --git a/setup/db/db/schema-4910to41000.sql b/setup/db/db/schema-4910to41000.sql
index beabe96..61d6a76 100644
--- a/setup/db/db/schema-4910to41000.sql
+++ b/setup/db/db/schema-4910to41000.sql
@@ -48,3 +48,8 @@ CREATE TABLE `cloud`.`vlan_details` (
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 
 ALTER TABLE `cloud`.`network_offerings` ADD COLUMN supports_public_access boolean default
false;
+
+ALTER TABLE `cloud`.`image_store_details` CHANGE COLUMN `value` `value` VARCHAR(255) NULL
DEFAULT NULL COMMENT 'value of the detail', ADD COLUMN `display` tinyint(1) NOT
+NULL DEFAULT '1' COMMENT 'True if the detail can be displayed to the end user' AFTER `value`;
+
+ALTER TABLE `snapshots` ADD COLUMN `location_type` VARCHAR(32) COMMENT 'Location of snapshot
(ex. Primary)';


Mime
View raw message