Getting Started
There are two paths to adopting pgmagmig, depending on whether you’re starting with a fresh database or transitioning an existing one.
- Fresh Database — you’re setting up a new project and want to manage the database schema from scratch.
- Existing Database — you have a production database with an established schema, possibly managed by another migration tool, and want to switch to pgmagmig.
Both paths start with the bootstrap command, which creates the initial migration file(s) and provides instructions tailored to your situation.