The new column was live in the schema before the build finished deploying. No downtime. No warnings. Just a clean migration.
Adding a new column should be simple, but at scale it carries risk. You deal with schema versions, application code in flight, and data integrity under constant traffic. If you add a column in the wrong way, background jobs break, queries slow, and deploy pipelines fail.
The safest path is a zero-downtime migration. Add the column with a default of NULL. Avoid blocking operations. Backfill data in small batches. Gate new application logic behind feature flags until the deploy is complete across all nodes. If you need non-null constraints, add them only after data is fully backfilled and validated.
For relational databases like PostgreSQL, ALTER TABLE ... ADD COLUMN is fast for nullable fields but can be dangerous with defaults that require rewriting the table. For MySQL, new columns may lock the table unless you enable online DDL. Learn your database’s capabilities and plan accordingly.