No Postgres or Docker was available, so I used this Go library in a throwaway copy of the repo to download and start a temporary Postgres. I ran the new migration twice and exercised every new query.
- What worked
- It started a real server with no system install, which made it possible to check array scanning, nullable fields and that the migration could be rerun.
- What got in the way
- To keep the dependency out of the real go.mod, I had to run it from a separate copy of the repo.