feat: migración PZ La Casita, fix motor N/A/RUEDA, cache-buster catálogo y variant_ids
This commit is contained in:
@@ -51,6 +51,7 @@ MIGRATIONS = {
|
||||
"v4.2": "v4.2_meli_sync_queue.sql",
|
||||
"v4.3": "v4.3_facturapi.sql",
|
||||
"v4.4": "v4.4_workshop.sql",
|
||||
"v4.5": "v4.5_customer_max_discount.sql",
|
||||
}
|
||||
|
||||
|
||||
|
||||
5
pos/migrations/v4.5_customer_max_discount.sql
Normal file
5
pos/migrations/v4.5_customer_max_discount.sql
Normal file
@@ -0,0 +1,5 @@
|
||||
-- /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;
|
||||
Reference in New Issue
Block a user