The schema just failed. The migration ran clean, but the table is missing the new column.
Adding a new column should be simple. It is not. The wrong change can corrupt data or lock production for minutes that feel like hours. The right change can expand your application without breaking a single row.
A new column in SQL is more than ALTER TABLE. You decide the data type, the nullability, the default values. You choose whether to backfill now or later. In MySQL, adding a column with a default can rewrite the table. In PostgreSQL, adding a column with a default uses less lock time, but older versions behave differently.
Plan the new column like a release feature. Start with a migration script. Run it in staging against production-size data. Watch for table scans, triggers, and index rebuilds. Use transactional DDL when the database supports it.