Introduction
Migrations help you change your database structure safely over time. They keep track of changes so your app and database stay in sync.
When you add a new table or column to your database.
When you rename or remove a column without losing data.
When you update the data type of a column.
When you want to share database changes with your team.
When deploying updates to production without breaking the app.