GUACAMOLE-363: Minor fixes in schema files.

This commit is contained in:
Nick Couchman
2017-08-27 16:32:35 -04:00
parent 66c4b86b0a
commit 9d38306e30
2 changed files with 1 additions and 7 deletions

View File

@@ -17,12 +17,6 @@
* under the License. * under the License.
*/ */
/**
* Create the guacamole schema.
*/
CREATE SCHEMA [dbo]
GO
/** /**
* List for permission data type. * List for permission data type.
*/ */

View File

@@ -33,7 +33,7 @@ FROM (
JOIN [dbo].[guacamole_user] ON permissions.username = [dbo].[guacamole_user].[username] JOIN [dbo].[guacamole_user] ON permissions.username = [dbo].[guacamole_user].[username]
JOIN [dbo].[guacamole_user] affected ON permissions.affected_username = affected.username; JOIN [dbo].[guacamole_user] affected ON permissions.affected_username = affected.username;
INSERT INTO [dbo].[system_permission] INSERT INTO [dbo].[guacamole_system_permission]
SELECT user_id, permission SELECT user_id, permission
FROM ( FROM (
SELECT 'guacadmin' AS username, 'CREATE_CONNECTION' AS permission SELECT 'guacadmin' AS username, 'CREATE_CONNECTION' AS permission