Change to the sqitch directory to run deploy

As this means it can find the relevant files.
This commit is contained in:
Christopher Baines 2019-06-11 07:22:17 +01:00
parent 93fdefc7b1
commit cf5dace846
1 changed files with 1 additions and 0 deletions

View File

@ -72,6 +72,7 @@
(list (%config 'sqitch)
"deploy"
"--db-client" (%config 'sqitch-psql)
"--chdir" (dirname (%config 'sqitch-plan))
"--plan-file" (%config 'sqitch-plan)
(string-append "db:pg://"
(%config 'database-user)