6 lines
234 B
SQL
6 lines
234 B
SQL
-- /home/Autopartes/pos/migrations/v4.5_customer_max_discount.sql
|
|
-- Tenant DB schema v4.5 — add per-customer maximum discount percentage.
|
|
|
|
ALTER TABLE customers
|
|
ADD COLUMN IF NOT EXISTS max_discount_pct NUMERIC(5,2) DEFAULT 0;
|