Example repo for my Database DevOps talk, illustrating Flyway with GitHub Actions. Slides for the talk can be found here.
- Install Docker
- In the root run
docker compose up -d
ordocker-compose up
if on a later version of Docker (notice the-
) - Tear down the containers with
docker compose down
ordocker compose down -v
to remove the volumes
- Versioned SQL migrations go under /sql/versioned while Repeatable SQL mirations go under /sql/repeatable
- Test locally with
docker compose up
- Send PR to kick off PR Verify