The new column had to land fast, without breaking a single query.
A new column is not just another field in a table. It changes schema, storage, and application behavior. Every added column affects indexes, query plans, and data integrity. You cannot simply bolt it on without thought.
Modern relational databases like PostgreSQL, MySQL, and SQL Server allow altering tables with ALTER TABLE ADD COLUMN. But performance cost depends on defaults, nullability, and constraints. Adding a nullable column without a default is often instant. Adding one with a non-null default can lock the table and rewrite data. This can halt production traffic if done without planning.
For large datasets, use migrations that add the column with a nullable definition first. Then backfill values in batches to avoid load spikes. Apply constraints only after the data is ready. In distributed systems, coordinate schema changes across services. A new column in the database must match code deployments. Deploy backward-compatible changes before enforcing stricter rules.