The schema was breaking. Queries returned mismatched data, indexes groaned under load, and the fix was obvious: a new column.
Adding a new column sounds simple, but mistakes here can wreck production. You must plan for type safety, default values, backward compatibility, and query performance. In SQL databases, this means defining a precise datatype, setting nullable rules, and understanding how it will affect joins. In NoSQL systems, you might add the field to documents, ensuring migrations keep old records usable.
Performance comes first. Adding a column to a massive table can lock it during migration. Use online schema change tools or rolling updates to avoid downtime. Always test in staging with realistic data volumes. Measure query plans before and after the change.