1 CREATE TABLE "SNAPSHOTS" (
2 "ID" INTEGER NOT NULL GENERATED BY DEFAULT AS IDENTITY (START WITH 1, INCREMENT BY 1),
5 "PROJECT_ID" INTEGER NOT NULL,
6 "COMPONENT_UUID" VARCHAR(50),
7 "PARENT_SNAPSHOT_ID" INTEGER,
8 "STATUS" VARCHAR(4) NOT NULL DEFAULT 'U',
9 "PURGE_STATUS" INTEGER,
10 "ISLAST" BOOLEAN NOT NULL DEFAULT FALSE,
12 "QUALIFIER" VARCHAR(10),
13 "ROOT_SNAPSHOT_ID" INTEGER,
14 "VERSION" VARCHAR(500),
17 "ROOT_PROJECT_ID" INTEGER,
18 "ROOT_COMPONENT_UUID" VARCHAR(50),
19 "PERIOD1_MODE" VARCHAR(100),
20 "PERIOD1_PARAM" VARCHAR(100),
21 "PERIOD1_DATE" BIGINT,
22 "PERIOD2_MODE" VARCHAR(100),
23 "PERIOD2_PARAM" VARCHAR(100),
24 "PERIOD2_DATE" BIGINT,
25 "PERIOD3_MODE" VARCHAR(100),
26 "PERIOD3_PARAM" VARCHAR(100),
27 "PERIOD3_DATE" BIGINT,
28 "PERIOD4_MODE" VARCHAR(100),
29 "PERIOD4_PARAM" VARCHAR(100),
30 "PERIOD4_DATE" BIGINT,
31 "PERIOD5_MODE" VARCHAR(100),
32 "PERIOD5_PARAM" VARCHAR(100),