The table was complete. The queries were fast. But the shape of the data had changed, and the code needed a new column.
Adding a new column is never just adding a new column. It is a schema change with real impact. Done right, it extends capability. Done wrong, it breaks production. The process depends on the database engine, the size of the dataset, and the level of uptime required.
In SQL, a new column usually means an ALTER TABLE statement. For small datasets, this runs in milliseconds. For massive tables under load, the cost is higher: locks, potential downtime, and stalled writes. Some engines like PostgreSQL can add a column with a default value instantly if that default is NULL. Adding with a non-null default touches every row, which is slower.
In NoSQL, a new column may be just another key in a document. Schema flexibility reduces migration friction, but consistency must still be maintained. You still need a controlled deployment plan to avoid partial updates or type mismatches.