feat: rename invoice (RE-) to order confirmation (BE-) throughout the application
All checks were successful
Staging Build / build (push) Successful in 2m42s

This commit is contained in:
DanielS
2026-06-25 22:43:17 +02:00
parent 52f2a78753
commit 16fb713665
7 changed files with 11 additions and 11 deletions

View File

@@ -5,7 +5,7 @@ ALTER TABLE public.orders
-- Update existing orders to have a unique order_number
UPDATE public.orders
SET order_number = 'RE-' || EXTRACT(YEAR FROM created_at)::text || '-' || floor(10000 + random() * 90000)::text
SET order_number = 'BE-' || EXTRACT(YEAR FROM created_at)::text || '-' || floor(10000 + random() * 90000)::text
WHERE order_number IS NULL;
-- Now add unique constraint and make it not null