The build froze. A single missing new column brought the deployment to a halt.
Adding a new column sounds simple. In practice, it can break queries, slow indexes, or lock tables for minutes. Whether you work with PostgreSQL, MySQL, or SQLite, the wrong approach to schema changes can push your database into downtime.
A new column alters the physical structure of a table. The database must rewrite pages, update metadata, and sometimes revalidate constraints. On large datasets, these operations can be slow. Without proper safeguards, concurrent reads and writes will block.
The safest method is to add a new column in a way that avoids full table rewrites. In PostgreSQL, adding a nullable column with no default executes fast because it skips data backfill. Later, you can backfill in batches, then set a default value and enforce constraints. In MySQL, use ALTER TABLE ... ALGORITHM=INPLACE when possible to reduce locks.