aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorDavid Gageot <david@gageot.net>2012-05-11 16:32:41 +0200
committerDavid Gageot <david@gageot.net>2012-05-11 16:35:45 +0200
commitf91fb9e64aae7527776fc01a5112784742db3f1b (patch)
treec6aaa24e5a88b53a2fabddd1a39730ec8a88f73f /sonar-core
parente24822a8ce95b8b3384292c641ca13af275b85f5 (diff)
downloadsonarqube-f91fb9e64aae7527776fc01a5112784742db3f1b.tar.gz
sonarqube-f91fb9e64aae7527776fc01a5112784742db3f1b.zip
FIX dashboards with a favourite filter should not be activated
Diffstat (limited to 'sonar-core')
-rw-r--r--sonar-core/src/main/resources/org/sonar/core/persistence/rows-derby.sql3
1 files changed, 1 insertions, 2 deletions
diff --git a/sonar-core/src/main/resources/org/sonar/core/persistence/rows-derby.sql b/sonar-core/src/main/resources/org/sonar/core/persistence/rows-derby.sql
index f9c9c306c8e..e229742494b 100644
--- a/sonar-core/src/main/resources/org/sonar/core/persistence/rows-derby.sql
+++ b/sonar-core/src/main/resources/org/sonar/core/persistence/rows-derby.sql
@@ -34,8 +34,7 @@ ALTER TABLE DASHBOARDS ALTER COLUMN ID RESTART WITH 4;
INSERT INTO ACTIVE_DASHBOARDS(ID, DASHBOARD_ID, USER_ID, ORDER_INDEX) VALUES (1, 1, null, 1);
INSERT INTO ACTIVE_DASHBOARDS(ID, DASHBOARD_ID, USER_ID, ORDER_INDEX) VALUES (2, 2, null, 2);
-INSERT INTO ACTIVE_DASHBOARDS(ID, DASHBOARD_ID, USER_ID, ORDER_INDEX) VALUES (3, 3, null, 3);
-ALTER TABLE ACTIVE_DASHBOARDS ALTER COLUMN ID RESTART WITH 4;
+ALTER TABLE ACTIVE_DASHBOARDS ALTER COLUMN ID RESTART WITH 3;
INSERT INTO WIDGETS(ID, DASHBOARD_ID, WIDGET_KEY, NAME, DESCRIPTION, COLUMN_INDEX, ROW_INDEX, CONFIGURED, RESOURCE_ID) VALUES (1, 1, 'filter', 'Filter', null, 1, 1, true , null);
INSERT INTO WIDGETS(ID, DASHBOARD_ID, WIDGET_KEY, NAME, DESCRIPTION, COLUMN_INDEX, ROW_INDEX, CONFIGURED, RESOURCE_ID) VALUES (2, 2, 'filter', 'Filter', null, 1, 1, true , null);