-- 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';
