You add a new column. Everything shifts.
A schema migration is rarely just a small tweak. Adding a new column alters the contract between your database and every piece of code that touches it. It changes queries. It affects indexes. It can break deployments if it isn’t planned.
To add a new column safely, start with the schema definition. Decide the data type with strict intent. Avoid nullable columns unless the design demands it. If values require defaults, set them in the DDL so old rows have consistent data immediately.
Next, run the migration in a way that won’t lock tables for too long. For large datasets, use online DDL tools or break the migration into steps: create the column, backfill data, then add constraints. Monitor query performance after the change. Indexes that worked fine before might degrade with the extra field.