This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
CREATE TABLE "pricing_provider_mappings" (
|
||||
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
|
||||
"product_id" uuid NOT NULL REFERENCES "products"("id"),
|
||||
"provider_id" text NOT NULL,
|
||||
"mapping_type" text NOT NULL,
|
||||
"external_identifier" text,
|
||||
"search_query" text,
|
||||
"source_url" text,
|
||||
"status" text DEFAULT 'ACTIVE' NOT NULL,
|
||||
"metadata" jsonb DEFAULT '{}'::jsonb NOT NULL,
|
||||
"disabled_at" timestamp with time zone,
|
||||
"created_at" timestamp with time zone DEFAULT now() NOT NULL,
|
||||
"updated_at" timestamp with time zone DEFAULT now() NOT NULL
|
||||
);
|
||||
Reference in New Issue
Block a user