The build was broken, and the logs made it clear: the schema had changed, but the code had not. A new column had landed in production.
Adding a new column to a database table feels small. It is not. It changes the shape of your data. It shifts how queries run, how indexes behave, and how code paths break. Done right, it is seamless. Done wrong, it is an outage.
A new column can hold fresh metrics, flags, or references. It can unblock features. But it also adds write overhead and can balloon storage. Before adding it, decide on the type, default value, nullability, and indexing. These choices define the column’s cost over time.
In relational databases, adding a new column can lock the table. On large datasets, this means downtime or degraded performance. Modern databases support online schema changes to reduce this risk. Still, test it on staging with production-like load before merging to main.