The table needs a new column. You add it, run the migration, and push to production. The change feels small, but it can break queries, trigger index rebuilds, and ripple through every dependent service. Done right, adding a new column is fast, predictable, and safe. Done wrong, it can choke traffic and force a rollback.
A new column in a database is more than a cell in a spreadsheet. It changes the schema. It changes the contract your application relies on. Always start by defining the exact type and constraints. Decide if it can be nullable. Decide if it needs a default value. These choices affect disk usage, performance, and future flexibility.
If the table is large, adding a new column can lock writes. This can cause downtime. Use online schema changes or tools that support non-blocking migrations. Break the operation into smaller steps: first add the column without constraints, then backfill data in batches, then add indexes or constraints in a later migration.