18 lines
617 B
MySQL
18 lines
617 B
MySQL
|
|
CREATE TABLE IF NOT EXISTS public."Hr_T_VehicleFile"
|
||
|
|
(
|
||
|
|
"Id" uuid NOT NULL DEFAULT gen_random_uuid(),
|
||
|
|
"TenantId" uuid NULL,
|
||
|
|
"VehicleId" uuid NOT NULL,
|
||
|
|
"VehicleDocumentId" uuid NOT NULL,
|
||
|
|
"FileName" varchar(256) NOT NULL,
|
||
|
|
"FileContent" text NOT NULL,
|
||
|
|
"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_VehicleFile" PRIMARY KEY ("Id")
|
||
|
|
);
|