gitpod/install/installer/pkg/components/database/incluster/init/03-create-authorization-db.sql
2023-01-26 11:52:34 +01:00

9 lines
354 B
SQL

-- Copyright (c) 2020 Gitpod GmbH. All rights reserved.
-- Licensed under the GNU Affero General Public License (AGPL). See License.AGPL.txt in the project root for license information.
-- must be idempotent
CREATE DATABASE IF NOT EXISTS `authorization` CHARSET utf8mb4;
-- Grant privileges
GRANT ALL ON `authorization`.* TO "__GITPOD_USERNAME__"@"%";