GUACAMOLE-538: Add newlines at the end of the schema files for easy concatenation.

This commit is contained in:
Virtually Nick
2024-08-29 17:03:48 -04:00
parent 04806f8d0a
commit 8f6d0c37cc
7 changed files with 10 additions and 3 deletions

View File

@@ -612,3 +612,4 @@ CREATE TABLE guacamole_user_password_history (
REFERENCES `guacamole_user` (`user_id`) ON DELETE CASCADE REFERENCES `guacamole_user` (`user_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=InnoDB DEFAULT CHARSET=utf8;

View File

@@ -51,3 +51,4 @@ FROM (
JOIN guacamole_entity ON permissions.username = guacamole_entity.name AND guacamole_entity.type = 'USER' JOIN guacamole_entity ON permissions.username = guacamole_entity.name AND guacamole_entity.type = 'USER'
JOIN guacamole_entity affected ON permissions.affected_username = affected.name AND guacamole_entity.type = 'USER' JOIN guacamole_entity affected ON permissions.affected_username = affected.name AND guacamole_entity.type = 'USER'
JOIN guacamole_user ON guacamole_user.entity_id = affected.entity_id; JOIN guacamole_user ON guacamole_user.entity_id = affected.entity_id;

View File

@@ -29,3 +29,4 @@ ALTER TABLE `guacamole_system_permission`
'CREATE_USER_GROUP', 'CREATE_USER_GROUP',
'AUDIT', 'AUDIT',
'ADMINISTER') NOT NULL; 'ADMINISTER') NOT NULL;

View File

@@ -53,3 +53,4 @@ FROM (
JOIN guacamole_entity ON permissions.username = guacamole_entity.name AND guacamole_entity.type = 'USER' JOIN guacamole_entity ON permissions.username = guacamole_entity.name AND guacamole_entity.type = 'USER'
JOIN guacamole_entity affected ON permissions.affected_username = affected.name AND guacamole_entity.type = 'USER' JOIN guacamole_entity affected ON permissions.affected_username = affected.name AND guacamole_entity.type = 'USER'
JOIN guacamole_user ON guacamole_user.entity_id = affected.entity_id; JOIN guacamole_user ON guacamole_user.entity_id = affected.entity_id;

View File

@@ -24,3 +24,4 @@
ALTER TYPE guacamole_system_permission_type ALTER TYPE guacamole_system_permission_type
ADD VALUE 'AUDIT' ADD VALUE 'AUDIT'
BEFORE 'ADMINISTER'; BEFORE 'ADMINISTER';

View File

@@ -61,3 +61,4 @@ JOIN [guacamole_entity] ON [permissions].[username] = [guacamole_enti
JOIN [guacamole_entity] [affected] ON [permissions].[affected_username] = [affected].[name] AND [guacamole_entity].[type] = 'USER' JOIN [guacamole_entity] [affected] ON [permissions].[affected_username] = [affected].[name] AND [guacamole_entity].[type] = 'USER'
JOIN [guacamole_user] ON [guacamole_user].[entity_id] = [affected].[entity_id]; JOIN [guacamole_user] ON [guacamole_user].[entity_id] = [affected].[entity_id];
GO GO

View File

@@ -40,3 +40,4 @@ EXEC sp_bindrule
'guacamole_system_permission_list', 'guacamole_system_permission_list',
'guacamole_system_permission'; 'guacamole_system_permission';
GO GO