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.

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.

Related Terms