The Rules of Clean and (Mostly) Painless Database Migrations

Benjamin Porter
ITNEXT
Published in
4 min readMar 15, 2022

--

The tail of a migrating whale sticks out above the ocean water.
Photo by K B on Unsplash

Note: This is part 2 of 2 in a series on database migrations. If you already know what a database migration is and why we use them for managing schemas, you can continue reading part 2. If you’d like to learn why we need migrations and why we need “rules” at all for them, check out part 1: “What are Database Migrations?”.

--

--

Writer for

Ben Porter is a Software Engineer who specializes in distributed applications (like web apps). He is currently Chief Technology Officer (CTO) at Ameelio.org