aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-core
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2017-06-08 16:53:14 +0200
committerEric Hartmann <hartmann.eric@gmail.com>2017-06-14 15:43:13 +0200
commitd9268101aa0358939e405edc89ee365de71ea035 (patch)
tree86e7f632ee1e1bca16d06644e8eacf991ca9399f /server/sonar-db-core
parent93ece4c32cb488af46855b3ee9d53d7fd9e787b8 (diff)
downloadsonarqube-d9268101aa0358939e405edc89ee365de71ea035.tar.gz
sonarqube-d9268101aa0358939e405edc89ee365de71ea035.zip
SONAR-9304 move rules_profiles.last_used/user_updated_at to org_qprofiles
Diffstat (limited to 'server/sonar-db-core')
-rw-r--r--server/sonar-db-core/src/main/resources/org/sonar/db/version/schema-h2.ddl4
1 files changed, 2 insertions, 2 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 eda17e61f32..3947300eb40 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
@@ -51,8 +51,6 @@ CREATE TABLE "RULES_PROFILES" (
"RULES_UPDATED_AT" VARCHAR(100),
"CREATED_AT" TIMESTAMP,
"UPDATED_AT" TIMESTAMP,
- "LAST_USED" BIGINT,
- "USER_UPDATED_AT" BIGINT,
"IS_BUILT_IN" BOOLEAN NOT NULL
);
CREATE UNIQUE INDEX "UNIQ_QPROF_KEY" ON "RULES_PROFILES" ("KEE");
@@ -63,6 +61,8 @@ CREATE TABLE "ORG_QPROFILES" (
"ORGANIZATION_UUID" VARCHAR(40) NOT NULL,
"RULES_PROFILE_UUID" VARCHAR(40) NOT NULL,
"PARENT_UUID" VARCHAR(40),
+ "LAST_USED" BIGINT,
+ "USER_UPDATED_AT" BIGINT,
"CREATED_AT" BIGINT NOT NULL,
"UPDATED_AT" BIGINT NOT NULL
);