The schema changed, and the data followed. You need a new column.
Adding a new column sounds simple, but the wrong approach can damage performance, lock tables, and cause unexpected downtime. The fastest path is to understand how your database engine handles schema changes under load.
First, check the table size. On small tables, an ALTER TABLE ADD COLUMN is trivial. On large tables, it can block writes and reads. MySQL, Postgres, and other engines handle this differently. Postgres can add a nullable column with a default in seconds because it doesn’t rewrite the table. MySQL before 8.0 rewrites the table unless you design around it.
Second, choose the data type and constraints carefully. A TEXT column has different storage and indexing costs than VARCHAR(255). Adding NOT NULL with a default can avoid null checks in queries, but it must be set with a value that fits all future writes.