17 lines
649 B
SQL
17 lines
649 B
SQL
CREATE TABLE IF NOT EXISTS public."Hr_T_TrainingSubject"
|
|
(
|
|
"Id" uuid NOT NULL DEFAULT gen_random_uuid(),
|
|
"TenantId" uuid NULL,
|
|
"TrainingTypeId" uuid NOT NULL,
|
|
"Name" varchar(256) NOT NULL,
|
|
"IsEvaluated" boolean NOT NULL DEFAULT TRUE,
|
|
"IsActive" boolean NOT NULL DEFAULT TRUE,
|
|
"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_TrainingSubject" PRIMARY KEY ("Id")
|
|
);
|