Review inbox
Proposals awaiting a human
Proposed change
Rename `total` columns to `amount` in orders.sql
The billing service already reads amount_cents, so renaming here removes a translation layer three call sites work around.
db/schema/orders.sql7 lines
- CREATE TABLE orders (
- removed: total_cents integer NOT NULL,
- added: amount_cents integer NOT NULL,
- currency char(3) NOT NULL,
- removed: total_updated_at timestamptz,
- added: amount_updated_at timestamptz,
- );
- Call sites3 references identified
- MigrationNot verified
- TestsNot run in this sample