1 CREATE TABLE "PROJECTS" (
2 "ID" INTEGER NOT NULL GENERATED BY DEFAULT AS IDENTITY (START WITH 1, INCREMENT BY 1),
4 "UUID" VARCHAR(50) NOT NULL,
5 "ROOT_UUID" VARCHAR(50),
6 "PROJECT_UUID" VARCHAR(50) NOT NULL,
7 "MODULE_UUID" VARCHAR(50),
8 "MODULE_UUID_PATH" VARCHAR(1500),
9 "MAIN_BRANCH_PROJECT_UUID" VARCHAR(50),
12 "ENABLED" BOOLEAN NOT NULL DEFAULT TRUE,
14 "QUALIFIER" VARCHAR(10)
16 CREATE UNIQUE INDEX "PROJECTS_KEE" ON "PROJECTS" ("KEE");
17 CREATE INDEX "PROJECTS_ROOT_UUID" ON "PROJECTS" ("ROOT_UUID");
18 CREATE UNIQUE INDEX "PROJECTS_UUID" ON "PROJECTS" ("UUID");
19 CREATE INDEX "PROJECTS_PROJECT_UUID" ON "PROJECTS" ("PROJECT_UUID");
20 CREATE INDEX "PROJECTS_MODULE_UUID" ON "PROJECTS" ("MODULE_UUID");
21 CREATE INDEX "PROJECTS_QUALIFIER" ON "PROJECTS" ("QUALIFIER");
23 CREATE TABLE "PROPERTIES" (
24 "ID" INTEGER NOT NULL GENERATED BY DEFAULT AS IDENTITY (START WITH 1, INCREMENT BY 1),
25 "PROP_KEY" VARCHAR(512) NOT NULL,
26 "RESOURCE_ID" INTEGER,
28 "TEXT_VALUE" VARCHAR(4000),
29 "CLOB_VALUE" CLOB(2147483647),
31 "IS_EMPTY" BOOLEAN NOT NULL,
33 CREATE INDEX "PROPERTIES_KEY" ON "PROPERTIES" ("PROP_KEY");