aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-dao/src/schema/schema-sq.ddl
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-db-dao/src/schema/schema-sq.ddl')
-rw-r--r--server/sonar-db-dao/src/schema/schema-sq.ddl9
1 files changed, 9 insertions, 0 deletions
diff --git a/server/sonar-db-dao/src/schema/schema-sq.ddl b/server/sonar-db-dao/src/schema/schema-sq.ddl
index 2d69105804f..2d9f8ca32fd 100644
--- a/server/sonar-db-dao/src/schema/schema-sq.ddl
+++ b/server/sonar-db-dao/src/schema/schema-sq.ddl
@@ -714,6 +714,15 @@ CREATE TABLE "PROPERTIES"(
ALTER TABLE "PROPERTIES" ADD CONSTRAINT "PK_PROPERTIES" PRIMARY KEY("UUID");
CREATE INDEX "PROPERTIES_KEY" ON "PROPERTIES"("PROP_KEY");
+CREATE TABLE "QGATE_GROUP_PERMISSIONS"(
+ "UUID" VARCHAR(40) NOT NULL,
+ "QUALITY_GATE_UUID" VARCHAR(40) NOT NULL,
+ "GROUP_UUID" VARCHAR(40) NOT NULL,
+ "CREATED_AT" BIGINT NOT NULL
+);
+ALTER TABLE "QGATE_GROUP_PERMISSIONS" ADD CONSTRAINT "PK_QGATE_GROUP_PERMISSIONS" PRIMARY KEY("UUID");
+CREATE INDEX "QG_GROUPS_UUID_IDX" ON "QGATE_GROUP_PERMISSIONS"("QUALITY_GATE_UUID");
+
CREATE TABLE "QGATE_USER_PERMISSIONS"(
"UUID" VARCHAR(40) NOT NULL,
"QUALITY_GATE_UUID" VARCHAR(40) NOT NULL,