]> source.dussan.org Git - sonarqube.git/blob
bd6b897194cf05e3389e4f0ce6ee9e74e7dac819
[sonarqube.git] /
1 CREATE TABLE "EVENTS"(
2     "ID" INTEGER NOT NULL,
3     "UUID" VARCHAR(40) NOT NULL,
4     "ANALYSIS_UUID" VARCHAR(50) NOT NULL,
5     "NAME" VARCHAR(400),
6     "CATEGORY" VARCHAR(50),
7     "DESCRIPTION" VARCHAR(4000),
8     "EVENT_DATA" VARCHAR(4000),
9     "EVENT_DATE" BIGINT NOT NULL,
10     "CREATED_AT" BIGINT NOT NULL,
11     "COMPONENT_UUID" VARCHAR(50) NOT NULL
12 );
13 CREATE UNIQUE INDEX "EVENTS_UUID" ON "EVENTS"("UUID");
14 CREATE INDEX "EVENTS_ANALYSIS" ON "EVENTS"("ANALYSIS_UUID");
15 CREATE INDEX "EVENTS_COMPONENT_UUID" ON "EVENTS"("COMPONENT_UUID");