Adding a new column should be simple. It usually is. But in production systems, schema changes can break deploys, lock tables, or block writes. When uptime matters, a bad column addition turns into a critical incident.
A new column definition must match its purpose exactly. Choose the correct data type. Decide if it can be null. Assign a default only when it will not mask bad data. Audit queries that will touch it. Every decision changes how the database behaves under load.
Plan migrations to avoid blocking queries. In databases like PostgreSQL, adding a new column with a default can rewrite the table. On large datasets, that locks writes. Use concurrent migrations. Split schema changes into small, safe steps. First add the column without defaults. Backfill data in batches. Add constraints last.
Version-control your schema. Store migration scripts alongside code. Review them like application changes. Test against production-like data sizes to uncover slow operations before they happen.