Adding a new column is a common change, but it touches the core of your schema. The operation can be straightforward or dangerous, depending on the system, the size of the table, and the database engine. Doing it right means understanding how your database handles schema changes, default values, locking, and rollback paths.
In PostgreSQL, ALTER TABLE ... ADD COLUMN is fast if the column is nullable without a default. With a default value, the engine may rewrite the whole table unless you use version-specific optimizations. MySQL’s behavior varies by storage engine and version; recent releases support instant column addition under certain conditions but still fall back to table copy when constraints are involved.
Every new column changes your queries, indexes, and application code. The risk is not in the command itself, but in the surrounding assumptions — ORMs generating mismatched migrations, background jobs expecting a field to exist, or analytics pipelines reading incomplete data during deployment.