Adding a new column sounds simple. It rarely is. A schema change touches code, data, and production state at the same time. Done wrong, it risks downtime or data loss. Done right, it is invisible. The difference is in the process.
First, define the exact purpose of the new column. Know its type, constraints, default values, and how it will be queried. Guessing now forces painful migrations later.
Second, choose a migration strategy that matches your scale. For small datasets, adding a new column with ALTER TABLE might be fine. For large production workloads, use an online migration tool or a phased deployment. Add the new column without constraints, backfill it in batches, then apply indexes and constraints once data is consistent.
Third, update application code in a way that’s safe during deployment. Write code that handles both the old and new schema until the migration is complete. Roll forward, never backward.