Change to the sqitch directory to run deploy
As this means it can find the relevant files.
This commit is contained in:
parent
93fdefc7b1
commit
cf5dace846
1 changed files with 1 additions and 0 deletions
|
|
@ -72,6 +72,7 @@
|
||||||
(list (%config 'sqitch)
|
(list (%config 'sqitch)
|
||||||
"deploy"
|
"deploy"
|
||||||
"--db-client" (%config 'sqitch-psql)
|
"--db-client" (%config 'sqitch-psql)
|
||||||
|
"--chdir" (dirname (%config 'sqitch-plan))
|
||||||
"--plan-file" (%config 'sqitch-plan)
|
"--plan-file" (%config 'sqitch-plan)
|
||||||
(string-append "db:pg://"
|
(string-append "db:pg://"
|
||||||
(%config 'database-user)
|
(%config 'database-user)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue