mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-363: Add license to SQL schema files.
This commit is contained in:
@@ -1,3 +1,22 @@
|
|||||||
|
/*
|
||||||
|
* Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
* or more contributor license agreements. See the NOTICE file
|
||||||
|
* distributed with this work for additional information
|
||||||
|
* regarding copyright ownership. The ASF licenses this file
|
||||||
|
* to you under the Apache License, Version 2.0 (the
|
||||||
|
* "License"); you may not use this file except in compliance
|
||||||
|
* with the License. You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing,
|
||||||
|
* software distributed under the License is distributed on an
|
||||||
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
* KIND, either express or implied. See the License for the
|
||||||
|
* specific language governing permissions and limitations
|
||||||
|
* under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create the guacamole schema.
|
* Create the guacamole schema.
|
||||||
*/
|
*/
|
||||||
@@ -541,4 +560,4 @@ ALTER TABLE [guacamole].[user_password_history]
|
|||||||
ON DELETE CASCADE
|
ON DELETE CASCADE
|
||||||
ALTER TABLE [guacamole].[user_password_history]
|
ALTER TABLE [guacamole].[user_password_history]
|
||||||
CHECK CONSTRAINT [FK_user_password_history_user]
|
CHECK CONSTRAINT [FK_user_password_history_user]
|
||||||
GO
|
GO
|
||||||
|
@@ -1,3 +1,22 @@
|
|||||||
|
/*
|
||||||
|
* Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
* or more contributor license agreements. See the NOTICE file
|
||||||
|
* distributed with this work for additional information
|
||||||
|
* regarding copyright ownership. The ASF licenses this file
|
||||||
|
* to you under the Apache License, Version 2.0 (the
|
||||||
|
* "License"); you may not use this file except in compliance
|
||||||
|
* with the License. You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing,
|
||||||
|
* software distributed under the License is distributed on an
|
||||||
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
* KIND, either express or implied. See the License for the
|
||||||
|
* specific language governing permissions and limitations
|
||||||
|
* under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create the default admin user account and set up full privileges.
|
* Create the default admin user account and set up full privileges.
|
||||||
*/
|
*/
|
||||||
@@ -24,4 +43,4 @@ FROM (
|
|||||||
UNION SELECT 'guacadmin' AS username, 'ADMINISTER' AS permission)
|
UNION SELECT 'guacadmin' AS username, 'ADMINISTER' AS permission)
|
||||||
permissions
|
permissions
|
||||||
JOIN [guacamole].[user] ON permissions.username = [guacamole].[user].[username];
|
JOIN [guacamole].[user] ON permissions.username = [guacamole].[user].[username];
|
||||||
GO
|
GO
|
||||||
|
Reference in New Issue
Block a user