sprkd
.io
🗡️ Gauntlet
Courses
Roles
Certs
Coach
Pricing
Sign in
⚙️
Backend Engineering
1 / 12
Data & Persistence
Advanced
An 'expand and contract' (parallel change) migration strategy for renaming a column typically proceeds as:
A
Drop the old column first, then add the new one and backfill
B
Put the app in maintenance mode and rename atomically every deploy
C
Add the new column, backfill and dual-write, migrate readers, then drop the old column in a later release
D
Rename the column in one migration and deploy code simultaneously
← Back
Next →