aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-dao/src/schema/schema-sq.ddl
diff options
context:
space:
mode:
authorJacek Poreda <jacek.poreda@sonarsource.com>2024-11-21 10:59:38 +0100
committersonartech <sonartech@sonarsource.com>2024-11-29 20:03:06 +0000
commit7aeeaa3fe7b3a491385d467f523a6273a06053fd (patch)
tree124b362a30a7af89d1cc622ca73f8bc1cc06756c /server/sonar-db-dao/src/schema/schema-sq.ddl
parent2e581ba13369a28401e3ea359579f977b2c8a3c0 (diff)
downloadsonarqube-7aeeaa3fe7b3a491385d467f523a6273a06053fd.tar.gz
sonarqube-7aeeaa3fe7b3a491385d467f523a6273a06053fd.zip
SONAR-23619 Add DB migration for 'quality_gates' table to add 'ai_code_supported' boolean flag
Diffstat (limited to 'server/sonar-db-dao/src/schema/schema-sq.ddl')
-rw-r--r--server/sonar-db-dao/src/schema/schema-sq.ddl3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-db-dao/src/schema/schema-sq.ddl b/server/sonar-db-dao/src/schema/schema-sq.ddl
index 34cfb933d22..eaa9aa9cf7f 100644
--- a/server/sonar-db-dao/src/schema/schema-sq.ddl
+++ b/server/sonar-db-dao/src/schema/schema-sq.ddl
@@ -898,7 +898,8 @@ CREATE TABLE "QUALITY_GATES"(
"NAME" CHARACTER VARYING(100) NOT NULL,
"IS_BUILT_IN" BOOLEAN NOT NULL,
"CREATED_AT" TIMESTAMP,
- "UPDATED_AT" TIMESTAMP
+ "UPDATED_AT" TIMESTAMP,
+ "AI_CODE_SUPPORTED" BOOLEAN DEFAULT FALSE NOT NULL
);
ALTER TABLE "QUALITY_GATES" ADD CONSTRAINT "PK_QUALITY_GATES" PRIMARY KEY("UUID");