Adding a new column in a relational database sounds simple. In reality, it affects queries, indexes, constraints, application code, and data integrity. The approach depends on your database engine, schema change tooling, and tolerance for downtime.
In PostgreSQL, ALTER TABLE ADD COLUMN is fast for nullable columns without defaults. When