Add first migration that alters default table privileges for migrator user to grant table privileges to app user
Combine two subsequent migrations into one file to simplify the template
Make CI checks run in parallel to improve visibility into what actually failed
Use docker compose v2
Context for reviewers
These migration changes don't follow the append-only practice of writing migrations, but since this is a template rather than an active project, I think that makes sense so that we can keep the project's initial setup clean.
Testing
Ran make db-recreate then make db-upgrade and make db-downgrade-all manually locally
Also this should be covered by CI since we have a test-migrations test
Ticket
Resolves #186
Changes
Context for reviewers
These migration changes don't follow the append-only practice of writing migrations, but since this is a template rather than an active project, I think that makes sense so that we can keep the project's initial setup clean.
Testing
Ran
make db-recreate
thenmake db-upgrade
andmake db-downgrade-all
manually locallyAlso this should be covered by CI since we have a test-migrations test