feat(shop): move linked fee configuration to product level
All checks were successful
Staging Build / build (push) Successful in 2m52s

This commit is contained in:
DanielS
2026-07-22 17:04:38 +02:00
parent 06cba405f3
commit f130f24c86
6 changed files with 51 additions and 39 deletions

View File

@@ -0,0 +1,7 @@
-- Remove linked_fee_product_id from product_modules
ALTER TABLE public.product_modules
DROP COLUMN IF EXISTS linked_fee_product_id;
-- Add linked_fee_product_id to products
ALTER TABLE public.products
ADD COLUMN IF NOT EXISTS linked_fee_product_id UUID REFERENCES public.products(id) ON DELETE SET NULL;