CREATE TABLE IF NOT EXISTS public."Hr_T_DisciplinaryCase" ( "Id" uuid NOT NULL DEFAULT gen_random_uuid(), "TenantId" uuid NULL, "CaseNo" varchar(32) NULL, "UserId" uuid NOT NULL, "DepartmentId" uuid NULL, "JobPositionId" uuid NULL, "IncidentDate" date NOT NULL, "IncidentTime" timestamp NULL, "IncidentPlace" varchar(256) NULL, "Subject" varchar(256) NOT NULL, "IncidentDescription" text NOT NULL, "WitnessUserIds" text NULL, "ReportedById" uuid NULL, "Status" varchar(32) NOT NULL DEFAULT 'Open', "CreationTime" timestamp NOT NULL DEFAULT (NOW() AT TIME ZONE 'UTC'), "CreatorId" uuid NULL, "LastModificationTime" timestamp NULL, "LastModifierId" uuid NULL, "IsDeleted" boolean NOT NULL DEFAULT FALSE, "DeletionTime" timestamp NULL, "DeleterId" uuid NULL, CONSTRAINT "PK_Hr_T_DisciplinaryCase" PRIMARY KEY ("Id") );