The fix was a new column.
Adding a new column in a database is simple until it breaks production. Schema changes hold risk: downtime, data loss, silent bugs that surface months later. Yet columns are the backbone of evolving data models, and you cannot scale or adapt without them.
A new column can store a computed value, track a flag, or support a new feature. The process begins with defining the column type. Pick data types with care. Match them to the smallest form that fits the need, to avoid wasted storage and slow indexes. Decide on nullability. Set defaults when possible to protect from inconsistent writes.
For relational databases, use migration scripts. Apply them in a way that is backward-compatible with the current codebase. In systems with zero-downtime requirements, deploy in two steps: first add the column, then populate and backfill in batches. Reloading millions of rows in one transaction can lock tables and stall traffic.