diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2016-11-08 15:20:13 +0100 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2016-11-09 16:47:34 +0100 |
commit | 046911d801c040ce4f0ad371ad2f4751522077d0 (patch) | |
tree | 74c2d4a6508d5b69268d42d2eaea05ad8746f26e /sonar-db/src/main/resources/org/sonar | |
parent | f0506597c511931df357d58690e45d872aeba0df (diff) | |
download | sonarqube-046911d801c040ce4f0ad371ad2f4751522077d0.tar.gz sonarqube-046911d801c040ce4f0ad371ad2f4751522077d0.zip |
SONAR-8355 Drop tables "measure_filters" and "measure_filter_favourites"
Diffstat (limited to 'sonar-db/src/main/resources/org/sonar')
-rw-r--r-- | sonar-db/src/main/resources/org/sonar/db/version/rows-h2.sql | 1 | ||||
-rw-r--r-- | sonar-db/src/main/resources/org/sonar/db/version/schema-h2.ddl | 22 |
2 files changed, 1 insertions, 22 deletions
diff --git a/sonar-db/src/main/resources/org/sonar/db/version/rows-h2.sql b/sonar-db/src/main/resources/org/sonar/db/version/rows-h2.sql index 31346602831..ebc66acf092 100644 --- a/sonar-db/src/main/resources/org/sonar/db/version/rows-h2.sql +++ b/sonar-db/src/main/resources/org/sonar/db/version/rows-h2.sql @@ -509,6 +509,7 @@ INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('1417'); INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('1418'); INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('1419'); INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('1420'); +INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('1421'); INSERT INTO USERS(ID, LOGIN, NAME, EMAIL, EXTERNAL_IDENTITY, EXTERNAL_IDENTITY_PROVIDER, USER_LOCAL, CRYPTED_PASSWORD, SALT, IS_ROOT, CREATED_AT, UPDATED_AT) VALUES (1, 'admin', 'Administrator', '', 'admin', 'sonarqube', true, 'a373a0e667abb2604c1fd571eb4ad47fe8cc0878', '48bc4b0d93179b5103fd3885ea9119498e9d161b', true, '1418215735482', '1418215735482'); ALTER TABLE USERS ALTER COLUMN ID RESTART WITH 2; diff --git a/sonar-db/src/main/resources/org/sonar/db/version/schema-h2.ddl b/sonar-db/src/main/resources/org/sonar/db/version/schema-h2.ddl index a98df497e24..67583b26b67 100644 --- a/sonar-db/src/main/resources/org/sonar/db/version/schema-h2.ddl +++ b/sonar-db/src/main/resources/org/sonar/db/version/schema-h2.ddl @@ -426,28 +426,6 @@ CREATE TABLE "AUTHORS" ( CREATE UNIQUE INDEX "UNIQ_AUTHOR_LOGINS" ON "AUTHORS" ("LOGIN"); -CREATE TABLE "MEASURE_FILTERS" ( - "ID" INTEGER NOT NULL GENERATED BY DEFAULT AS IDENTITY (START WITH 1, INCREMENT BY 1), - "NAME" VARCHAR(100) NOT NULL, - "SHARED" BOOLEAN NOT NULL DEFAULT FALSE, - "USER_ID" INTEGER, - "DESCRIPTION" VARCHAR(4000), - "DATA" CLOB(2147483647), - "CREATED_AT" TIMESTAMP, - "UPDATED_AT" TIMESTAMP -); -CREATE INDEX "MEASURE_FILTERS_NAME" ON "MEASURE_FILTERS" ("NAME"); - - -CREATE TABLE "MEASURE_FILTER_FAVOURITES" ( - "ID" INTEGER NOT NULL GENERATED BY DEFAULT AS IDENTITY (START WITH 1, INCREMENT BY 1), - "USER_ID" INTEGER NOT NULL, - "MEASURE_FILTER_ID" INTEGER NOT NULL, - "CREATED_AT" TIMESTAMP -); -CREATE INDEX "MEASURE_FILTER_FAVS_USERID" ON "MEASURE_FILTER_FAVOURITES" ("USER_ID"); - - CREATE TABLE "ISSUES" ( "ID" BIGINT NOT NULL GENERATED BY DEFAULT AS IDENTITY (START WITH 1, INCREMENT BY 1), "KEE" VARCHAR(50) UNIQUE NOT NULL, |