Repository: guacamole-client Updated Branches: refs/heads/master 9a0df8e33 -> 044860c0e
GUACAMOLE-363: Do not declare custom types as default "NOT NULL". Rely on column definitions for such semantics. Project: http://git-wip-us.apache.org/repos/asf/guacamole-client/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-client/commit/b0553d5f Tree: http://git-wip-us.apache.org/repos/asf/guacamole-client/tree/b0553d5f Diff: http://git-wip-us.apache.org/repos/asf/guacamole-client/diff/b0553d5f Branch: refs/heads/master Commit: b0553d5f16de9bea527013d978ff87d11d7396df Parents: 303bc49 Author: Michael Jumper <mjum...@apache.org> Authored: Mon Dec 11 23:47:23 2017 -0800 Committer: Michael Jumper <mjum...@apache.org> Committed: Mon Dec 11 23:47:23 2017 -0800 ---------------------------------------------------------------------- .../schema/001-create-schema.sql | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/guacamole-client/blob/b0553d5f/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-sqlserver/schema/001-create-schema.sql ---------------------------------------------------------------------- diff --git a/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-sqlserver/schema/001-create-schema.sql b/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-sqlserver/schema/001-create-schema.sql index 16525c0..91ba377 100644 --- a/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-sqlserver/schema/001-create-schema.sql +++ b/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-sqlserver/schema/001-create-schema.sql @@ -27,7 +27,7 @@ CREATE RULE [guacamole_connection_group_type_list] AS @list IN ( ); GO -CREATE TYPE [guacamole_connection_group_type] FROM [nvarchar](16) NOT NULL; +CREATE TYPE [guacamole_connection_group_type] FROM [nvarchar](16); EXEC sp_bindrule 'guacamole_connection_group_type_list', 'guacamole_connection_group_type'; @@ -45,7 +45,7 @@ CREATE RULE [guacamole_object_permission_list] AS @list IN ( ); GO -CREATE TYPE [guacamole_object_permission] FROM [nvarchar](16) NOT NULL; +CREATE TYPE [guacamole_object_permission] FROM [nvarchar](16); EXEC sp_bindrule 'guacamole_object_permission_list', 'guacamole_object_permission'; @@ -64,7 +64,7 @@ CREATE RULE [guacamole_system_permission_list] AS @list IN ( ); GO -CREATE TYPE [guacamole_system_permission] FROM [nvarchar](32) NOT NULL; +CREATE TYPE [guacamole_system_permission] FROM [nvarchar](32); EXEC sp_bindrule 'guacamole_system_permission_list', 'guacamole_system_permission'; @@ -80,7 +80,7 @@ CREATE RULE [guacamole_proxy_encryption_method_list] AS @list IN ( ); GO -CREATE TYPE [guacamole_proxy_encryption_method] FROM [nvarchar](8) NOT NULL; +CREATE TYPE [guacamole_proxy_encryption_method] FROM [nvarchar](8); EXEC sp_bindrule 'guacamole_proxy_encryption_method_list', 'guacamole_proxy_encryption_method';