Adding a new column can look simple in the diff, but shipping it to production without risk takes planning. Schema changes affect performance, availability, and downstream systems. A single migration can cascade into outages if not handled with care.
Start by making the change backward-compatible. Add the new column without enforcing constraints or defaults that block writes. In most SQL databases, this is a single ALTER TABLE statement, but on large tables it can lock writes or reads. Use tools or database-specific features that run migrations online to avoid downtime.
After creation, deploy application code that begins writing to the new column while still reading from the old data source if needed. Run this dual-write state until you are confident the column is being populated correctly. Validate data integrity with checksums or tailored queries.