The schema is live. The migration is done. But the data isn’t ready until the new column is in place.
Adding a new column sounds simple. In practice, it can break production if you do it wrong. The size of the table, indexes, constraints, and live traffic all matter. An ALTER TABLE can lock rows for longer than you expect. In high-load systems, downtime is not an option.
A new column changes the shape of your data. Before you run the command, decide the type, nullability, and default. Adding a NOT NULL column with a default value can rewrite the entire table. On a table with millions of rows, that is dangerous. Consider creating the column as nullable, backfilling in small batches, and then adding constraints once the data is ready.
If you use Postgres, ALTER TABLE ADD COLUMN is fast for nullable columns with no default. For MySQL, adding columns can still lock the table depending on the storage engine. With cloud databases, test on a staging environment that matches production size. Always measure execution time and lock behavior before shipping.