feat: add optional categories - admins can mark categories as optional in the order wizard
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
-- Add is_required column to categories
|
||||
-- When true (default), a product must be selected from this category in the order wizard
|
||||
-- When false, the category is optional and can be skipped
|
||||
ALTER TABLE public.categories ADD COLUMN IF NOT EXISTS is_required BOOLEAN DEFAULT true NOT NULL;
|
||||
Reference in New Issue
Block a user