2 "ID" INTEGER NOT NULL AUTO_INCREMENT (1,1),
3 "UUID" VARCHAR(40) NOT NULL,
4 "ANALYSIS_UUID" VARCHAR(50) NOT NULL,
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
13 ALTER TABLE "EVENTS" ADD CONSTRAINT "PK_EVENTS" PRIMARY KEY("ID");
14 CREATE UNIQUE INDEX "EVENTS_UUID" ON "EVENTS"("UUID");
15 CREATE INDEX "EVENTS_ANALYSIS" ON "EVENTS"("ANALYSIS_UUID");
16 CREATE INDEX "EVENTS_COMPONENT_UUID" ON "EVENTS"("COMPONENT_UUID");