Skip to main content

2 posts tagged with "migrations"

View All Tags

Why We Clone the Database Before Every Migration

· 4 min read
PostKit Team
Appri Technologies

Most database migration tools work the same way: write some SQL, run it against the database, hope for the best. PostKit takes a different approach — before any migration runs, we clone the production database to a local copy and work against that. It sounds like extra overhead. In practice, it catches a category of bugs that no amount of unit testing can find.

Why We Clone the Database Before Every Migration