19 lines
773 B
SQL
19 lines
773 B
SQL
CREATE TABLE IF NOT EXISTS public."Mm_T_MaintenanceInstructionMaterial"
|
|
(
|
|
"Id" uuid NOT NULL DEFAULT gen_random_uuid(),
|
|
"TenantId" uuid NULL,
|
|
"MaintenanceInstructionId" uuid NOT NULL,
|
|
"ProductId" uuid NOT NULL,
|
|
"Quantity" numeric(18, 4) NOT NULL DEFAULT 1,
|
|
"UomId" varchar(64) NOT NULL DEFAULT 'Adet',
|
|
"Description" varchar(256) NULL,
|
|
"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_Mm_T_MaintenanceInstructionMaterial" PRIMARY KEY ("Id")
|
|
);
|