Adding a new column sounds simple, but the wrong approach can break production, cause downtime, or lead to silent data loss. The right approach depends on the database type, schema design, and migration strategy.
In relational databases like PostgreSQL or MySQL, ALTER TABLE ... ADD COLUMN is often the fastest step. But speed is not the only factor. You need to plan for default values, nullability, and indexing. Adding a column with a default in large tables can lock writes. The safe pattern is to add the column without a default, backfill in batches, then enforce constraints.
For NoSQL systems, adding a new column means introducing a new field to existing documents. This might require no schema changes at the database level, but application code must handle missing fields until all records are updated. Versioning your data model helps avoid mismatches between services during deployment.