Adding a new column sounds simple. It can break production if you do it wrong. Schema changes touch hard edges — queries, indexes, migrations, deployments. The way you add a column can decide uptime, performance, and developer sanity.
A new column means revisiting every part of the system. You define its name and type. You decide default values, nullability, and constraints. You ensure that application code knows it exists before writes or reads rely on it. You plan migrations so they happen fast, even on large tables.
On small datasets, an ALTER TABLE might finish in seconds. On high-traffic systems with millions of rows, it can lock writes and cause downtime. Use rolling schema changes where possible. Add the column first, backfill data in batches, then enforce constraints once the data aligns. Monitor query plans after the change. Rebuild indexes if needed.