Guides ยท Technology
Database Migrations Basics
Change schemas safely
Database migrations add or change schemas using forward/backward compatible steps, versioned files, and tested rollouts to avoid outages.
- ddl
- rollback
- versioning
- backfill
- zero-downtime
Plan Steps
Design additive-first changes; backfill before removals.
Version Control
Use numbered or timestamped migration files with reviews.
Deploy Safely
Run in staging, apply in low-traffic windows, monitor errors.