A new column in a database changes the shape of your schema. It affects queries, indexes, and code paths. Add it wrong, and you risk locking tables, blocking writes, or breaking production. Add it right, and it becomes another dimension for analytics, features, or caching strategies.
Plan the change. Know the column type, nullability, defaults, and constraints. If the table is large, adding a new column synchronously can cause downtime. Use migrations that run in multiple phases—create the column, backfill in batches, then apply constraints last.
In PostgreSQL, ALTER TABLE is fast for metadata-only changes like adding a nullable column without defaults. Defaults with NOT NULL force a full table rewrite. MySQL behaves differently—adding a column can lock the table depending on engine and configuration. Understand your database’s behavior before running migrations in production.