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
|
@ -143,6 +143,8 @@
|
|||
"--db-client" (%config 'sqitch-psql)
|
||||
"--chdir" (dirname (dirname (%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))
|
||||
(params (string-join
|
||||
(map
|
||||
|
|
Loading…
Reference in New Issue