Adding a new column should be simple. In practice, it can break builds, lock tables, or slow queries if done without care. Whether you use PostgreSQL, MySQL, or any modern database, schema changes in production need precision.
A new column alters storage, indexes, and query plans. Without a default value, older rows have NULL. With a default, some databases rewrite the whole table, causing downtime. Engineers who move fast often skip analysis; then the alert storm hits.
Plan the change.
Choose a column type that matches the data size and query patterns. For large tables, consider adding the column without a default first, then backfilling in small batches. Monitor query performance before and after. If the new column needs an index, create it after the data migration to avoid locking.