The migration halted. Everyone waited for the schema change. Then came the command: add a new column.
A new column in a database table is more than just another field. It changes the shape of your data model, the queries that run against it, and the code that depends on it. Done right, it extends capability. Done wrong, it delays deployments, blocks pipelines, and breaks production.
When you add a new column, consider its type, defaults, constraints, and indexing. Small choices here decide performance and integrity later. If the column can be null, decide why. If it must be unique, enforce it at the database level. Plan backwards from the feature or process that will need this column.
In large datasets, an ALTER TABLE to add a new column can lock the table and consume resources. Some systems handle schema evolution online, others require downtime. For zero-downtime migrations, add the new column first, deploy code that writes to both old and new fields, backfill data, then switch reads to the new column. Test every step against a staging environment with realistic data volumes.