aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-testing-harness
diff options
context:
space:
mode:
authorFabrice Bellingard <bellingard@gmail.com>2011-10-24 13:04:13 +0200
committerFabrice Bellingard <bellingard@gmail.com>2011-10-24 13:06:12 +0200
commitd31106672fa752edff92f10522424f88c1521de6 (patch)
treefaa59d7f8b055b738d0672e1a4c03b1ac45256c6 /sonar-testing-harness
parent5636c4efae827b345ad1ec15de0b7c1dfa4814c6 (diff)
downloadsonarqube-d31106672fa752edff92f10522424f88c1521de6.tar.gz
sonarqube-d31106672fa752edff92f10522424f88c1521de6.zip
SONAR-2919 Update Events table
Migration script: - name column => 400 - description column => 4000 - data column removed - tries to attach snapshots to events that do not have one
Diffstat (limited to 'sonar-testing-harness')
-rw-r--r--sonar-testing-harness/src/main/resources/org/sonar/test/persistence/sonar-test.ddl5
1 files changed, 2 insertions, 3 deletions
diff --git a/sonar-testing-harness/src/main/resources/org/sonar/test/persistence/sonar-test.ddl b/sonar-testing-harness/src/main/resources/org/sonar/test/persistence/sonar-test.ddl
index 7ebfd7cdd4e..7fa023eb3f2 100644
--- a/sonar-testing-harness/src/main/resources/org/sonar/test/persistence/sonar-test.ddl
+++ b/sonar-testing-harness/src/main/resources/org/sonar/test/persistence/sonar-test.ddl
@@ -138,14 +138,13 @@ CREATE INDEX DEPS_TO_SID ON DEPENDENCIES (TO_SNAPSHOT_ID);
create table EVENTS (
ID INTEGER not null,
- NAME VARCHAR(50),
+ NAME VARCHAR(400),
RESOURCE_ID INTEGER,
SNAPSHOT_ID INTEGER,
CATEGORY VARCHAR(50),
EVENT_DATE TIMESTAMP,
CREATED_AT TIMESTAMP,
- DESCRIPTION VARCHAR(3072),
- DATA VARCHAR(4000),
+ DESCRIPTION VARCHAR(4000),
primary key (id)
);
CREATE INDEX EVENTS_RESOURCE_ID ON EVENTS (RESOURCE_ID);