A Postgres schema with constraints that make bad data impossible.
Code: ep02 branch has the code as it stands at the end of this episode. To code along, start from the ep01 branch.
Topics: PostgreSQL 17, double-entry, golang-migrate, constraint triggers, int64 money, Make
In this lesson