From f91fb9e64aae7527776fc01a5112784742db3f1b Mon Sep 17 00:00:00 2001 From: David Gageot Date: Fri, 11 May 2012 16:32:41 +0200 Subject: FIX dashboards with a favourite filter should not be activated --- .../src/main/resources/org/sonar/core/persistence/rows-derby.sql | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sonar-core') 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); -- cgit v1.2.3