3 ms·
I'm using templates as well for the speedup in testing. We build a postgresql docker image with the migrations + seed data, then create a few databases for para
by tln 6y ago
I'm using templates as well for the speedup in testing. We build a postgresql docker image with the migrations + seed data, then create a few databases for parallel testing.
When migration or seed files have changed, rules rebuild the image. That way the price of migration (about 2 minutes for our Django app) isn't paid on every test run.
Creating a DB from template is 2 seconds.