A new column sounds small. It isn’t. In production, schema changes carry risk: downtime, migration errors, data loss. Done wrong, they break deployments. Done right, they unlock features without slowing delivery.
Adding a new column starts with clarity. Define the exact data type, constraints, default values, and nullability. Plan for backward compatibility. Existing queries, APIs, and integrations must handle the change without breaking. Avoid locking tables when possible by using online schema changes or migration tools designed for zero downtime.
Test migrations in staging against production-sized datasets. Measure execution time. Check indexes before and after. Ensure rollback scripts exist. With large tables, split the change into steps—create the new column first, then backfill in batches, then wire the application to use it.