CREATE TABLE IF NOT EXISTS public."Inv_T_BomComponent" ( "Id" uuid NOT NULL DEFAULT gen_random_uuid(), "TenantId" uuid NULL, "BomId" uuid NOT NULL, "ProductId" uuid NOT NULL, "VariantKey" varchar(450) NULL, "Quantity" numeric(18, 4) NOT NULL DEFAULT 1, "UomId" varchar(64) NOT NULL, "BomOperationId" uuid NULL, "SortOrder" integer NOT NULL DEFAULT 0, "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_Inv_T_BomComponent" PRIMARY KEY ("Id") );