The table needs a new column. You add it, but the schema barely holds. Migrations run. Queries shift. The code wakes up different.
A new column in a database changes more than storage. It changes how the application thinks. Indexes matter. Defaults matter. Nulls matter. Every choice here can create speed or break production.
Before adding a new column, map the exact impact. Check read paths. Check write paths. Understand how the ORM will serialize it. Run explain plans. Plan for backfill. Decide if the column is nullable or if it needs a default value.
For relational databases, consider the lock type. ALTER TABLE can block writes if not handled carefully. Use online schema changes when possible. For large datasets, test the migration in staging with realistic data volumes. Use tools like pt-online-schema-change or built‑in async migration features to reduce downtime.