db: add allow_update_discount column to categories table

This commit is contained in:
DanielS
2026-07-10 00:18:18 +02:00
parent 90a5e17f2b
commit 2038c4df3e

View File

@@ -0,0 +1,6 @@
-- Migration: Add allow_update_discount to categories
-- Purpose: Add a boolean flag to categories to control if their products are eligible for the update discount.
ALTER TABLE public.categories ADD COLUMN IF NOT EXISTS allow_update_discount BOOLEAN DEFAULT true NOT NULL;
NOTIFY pgrst, 'reload schema';