diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2018-09-04 16:08:00 +0200 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2018-09-24 20:20:57 +0200 |
commit | 6b71b52fde2bc496ee84c87b79a4a186e8f78774 (patch) | |
tree | acf0d9e4c0cd93d08e57e95c483f01c90d3e0164 /server/sonar-db-core/src | |
parent | e5f73ecf404ab7342a772fd5630835c7893e0c84 (diff) | |
download | sonarqube-6b71b52fde2bc496ee84c87b79a4a186e8f78774.tar.gz sonarqube-6b71b52fde2bc496ee84c87b79a4a186e8f78774.zip |
SONAR-11212 Distinguish predefined and ad hoc external rules
Diffstat (limited to 'server/sonar-db-core/src')
-rw-r--r-- | server/sonar-db-core/src/main/resources/org/sonar/db/version/schema-h2.ddl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-db-core/src/main/resources/org/sonar/db/version/schema-h2.ddl b/server/sonar-db-core/src/main/resources/org/sonar/db/version/schema-h2.ddl index 4e43f0178e4..db1b8dfd211 100644 --- a/server/sonar-db-core/src/main/resources/org/sonar/db/version/schema-h2.ddl +++ b/server/sonar-db-core/src/main/resources/org/sonar/db/version/schema-h2.ddl @@ -201,7 +201,8 @@ CREATE TABLE "RULES" ( "DESCRIPTION_FORMAT" VARCHAR(20), "PRIORITY" INTEGER, "IS_TEMPLATE" BOOLEAN DEFAULT FALSE, - "IS_EXTERNAL" BOOLEAN, + "IS_EXTERNAL" BOOLEAN NOT NULL, + "IS_AD_HOC" BOOLEAN NOT NULL, "TEMPLATE_ID" INTEGER, "PLUGIN_CONFIG_KEY" VARCHAR(200), "NAME" VARCHAR(200), |