]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-19556 updated schema files
authorLukasz Jarocki <lukasz.jarocki@sonarsource.com>
Tue, 20 Jun 2023 08:42:14 +0000 (10:42 +0200)
committersonartech <sonartech@sonarsource.com>
Tue, 20 Jun 2023 13:10:19 +0000 (13:10 +0000)
server/sonar-db-dao/src/schema/schema-sq.ddl

index da1ce6e4ef43944eb246bae4336fb95f3012001d..450896f70ec98d7cfa17bf4ca940b94a77e43e38 100644 (file)
@@ -1001,6 +1001,7 @@ CREATE TABLE "USER_ROLES"(
 );
 ALTER TABLE "USER_ROLES" ADD CONSTRAINT "PK_USER_ROLES" PRIMARY KEY("UUID");
 CREATE INDEX "USER_ROLES_USER" ON "USER_ROLES"("USER_UUID" NULLS FIRST);
+CREATE INDEX "USER_ROLES_ENTITY_UUID" ON "USER_ROLES"("ENTITY_UUID" NULLS FIRST);
 
 CREATE TABLE "USER_TOKENS"(
     "UUID" CHARACTER VARYING(40) NOT NULL,