You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ro...@apache.org on 2018/01/19 21:50:37 UTC

[cloudstack] branch 4.11 updated: CLOUDSTACK-10117: Allow scoped setting to have nullable values (#2413)

This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch 4.11
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/4.11 by this push:
     new 5eb0956  CLOUDSTACK-10117: Allow scoped setting to have nullable values (#2413)
5eb0956 is described below

commit 5eb09565b390e82072423e9d8b06b7af23884927
Author: dahn <da...@gmail.com>
AuthorDate: Fri Jan 19 22:50:35 2018 +0100

    CLOUDSTACK-10117: Allow scoped setting to have nullable values (#2413)
    
    Allows scope setting for domain_details to have nullable values.
---
 engine/schema/resources/META-INF/db/schema-41000to41100.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/engine/schema/resources/META-INF/db/schema-41000to41100.sql b/engine/schema/resources/META-INF/db/schema-41000to41100.sql
index f02d8f1..50d465c 100644
--- a/engine/schema/resources/META-INF/db/schema-41000to41100.sql
+++ b/engine/schema/resources/META-INF/db/schema-41000to41100.sql
@@ -536,7 +536,7 @@ CREATE TABLE IF NOT EXISTS `cloud`.`domain_details` (
     `id` bigint unsigned NOT NULL auto_increment,
     `domain_id` bigint unsigned NOT NULL COMMENT 'account id',
     `name` varchar(255) NOT NULL,
-    `value` varchar(255) NOT NULL,
+    `value` varchar(255) NULL,
     PRIMARY KEY (`id`),
     CONSTRAINT `fk_domain_details__domain_id` FOREIGN KEY (`domain_id`) REFERENCES `domain`(`id`) ON DELETE CASCADE
 )ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- 
To stop receiving notification emails like this one, please contact
['"commits@cloudstack.apache.org" <co...@cloudstack.apache.org>'].