Run sqitch in the change mode
Since this rolls back migrations less, which is good when the rollback bit isn't always implemented.
This commit is contained in:
parent
0dc05982cd
commit
b4188bda9d
1 changed files with 2 additions and 0 deletions
|
|
@ -143,6 +143,8 @@
|
||||||
"--db-client" (%config 'sqitch-psql)
|
"--db-client" (%config 'sqitch-psql)
|
||||||
"--chdir" (dirname (dirname (%config 'sqitch-plan)))
|
"--chdir" (dirname (dirname (%config 'sqitch-plan)))
|
||||||
"--plan-file" (%config 'sqitch-plan)
|
"--plan-file" (%config 'sqitch-plan)
|
||||||
|
"--mode" "change" ; this helps when migrations don't
|
||||||
|
; have the revert bit implemented
|
||||||
(let* ((database-config (get-database-config))
|
(let* ((database-config (get-database-config))
|
||||||
(params (string-join
|
(params (string-join
|
||||||
(map
|
(map
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue