the.bay.news

Modeling State Transitions in Postgres

thoughtbot
Modeling State Transitions in Postgres
Status starts as a column. Then someone asks “who was denied last Tuesday?” and the schema can’t answer. Model each status change as its own row from the start, without sacrificing read performance.

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.