I am running Postgres on a Docker container.
I have been trying to following the example show to deploy scripts using Sqitch from the following page:
https://metacpan.org/pod/sqitchtutorial
Now I have got as far as creating my folders for Deploy, Revert and Verify
I then try to deploy changes using the following command:
sqitch deploy db:pg://username:password@localhost/flipr_test
where i pass in my username and password
However i get the following error message:
Adding registry tables to db:pg://postgres:@localhost/flipr_test
"/opt/local/pgsql/bin/psql" failed to start: "The system cannot find the path specified"
How can I get Sqitch to run to deploy a database to Postgres running on a Docker Container?
Need to do the following :
This sqitch file runs Sqitch in a Docker Container
Comment out the following line:
This means that psql will then be used from the Postgres container
Here the sqitch.bat is running up Sqitch in the Docker Container and then from there can run the deploy command to deploy changes