feat: add product provider mappings
Quality / test (push) Canceled after 0s

This commit is contained in:
2026-09-09 12:58:02 -04:00
parent bab4efc6ad
commit 4d3af37cd7
17 changed files with 253 additions and 3 deletions
@@ -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
);