The migration broke in the middle of the deploy. A missing field. The database rejected the query. Everything stopped. You need a new column, now.
Adding a new column should be fast, safe, and repeatable. The process depends on your database engine, your schema design, and the load you’re serving. In PostgreSQL, ALTER TABLE ADD COLUMN is trivial for nullable fields with defaults. In MySQL, certain operations lock the table, blocking writes. In distributed systems, a schema change ripples through replicas and caches.
Plan for backward compatibility. Ship the column first, without removing anything old. Set the default value. Deploy code that writes to both the old field and the new column. Only after confirmed writes and reads succeed should you retire the old path. This phased rollout prevents downtime during schema changes.