I know it's not part of this article but I'm interested in the testing part. How do you ensure the database is up and accepting connections before you run the integrations tests?
I wrote a second article which goes into detail about a bin script that will check for postgres having a ready state.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.