db: add allow_update_discount column to categories table
This commit is contained in:
@@ -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';
|
||||
Reference in New Issue
Block a user