Merge branch 'main' into front-7a
# Conflicts: # app/schema.sql
This commit is contained in:
@@ -627,3 +627,7 @@ CREATE TABLE IF NOT EXISTS dtf_local.stamp_sizes (
|
||||
);
|
||||
INSERT INTO dtf_local.stamp_sizes(letter,width_cm) VALUES ('A',20),('B',24),('C',27),('D',30)
|
||||
ON CONFLICT (letter) DO NOTHING;
|
||||
-- Front 8.2: a price may also have bands by the order's total metres of that
|
||||
-- product: base price, then "from 5 m R$ Y", "from 20 m R$ Z" (jsonb list of
|
||||
-- {"from_metres": "5", "unit_cents": 1990}, strictly increasing, at most 5).
|
||||
ALTER TABLE dtf_local.product_prices ADD COLUMN IF NOT EXISTS bands jsonb NOT NULL DEFAULT '[]';
|
||||
|
||||
Reference in New Issue
Block a user