One migration, one command, and your database gains fresh power. Done wrong, it can lock tables, stall queries, or crash production. Done right, it becomes a simple, safe extension of your data model.
Adding a new column is more than syntax. You must consider schema evolution, data type selection, default values, nullability, indexing, and backward compatibility. In SQL, the cost of ALTER TABLE ADD COLUMN depends on engine, storage, and existing constraints. On PostgreSQL, small changes may execute instantly. On MySQL with large tables, the same command can block writes.
Plan for zero-downtime migrations. Add the new column without defaults or constraints first. Backfill data in batches. Apply indexes in separate steps. Monitor locks, latency, and replication lag. In distributed systems, coordinate changes across services so old code and new code work with the same schema until the migration completes.