Adding multi-tenancy to a Postgres ledger without a rewrite
For three weeks, every row in this ledger has had org_id = 1.
That was a Week 1 decision. Build the schema, the double-entry invariants, the snapshots, the FX layer — all under a single hardcoded org.
rithvikronaldo.dev8 min read