6 ms·
Now the most common setup is to copy the production database to the staging once in a while and test migration against staging. With branching, you can test eac
by kelvich 4y ago
Now the most common setup is to copy the production database to the staging once in a while and test migration against staging. With branching, you can test each PR against its own production database branch -- just put branch creation in your CI config. Hence, it has fewer moving parts, is a bit easier to set up, and reduces the lag between prod and staging.