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:
Christopher Baines 2021-07-04 10:43:13 +01:00
parent 0dc05982cd
commit b4188bda9d
1 changed files with 2 additions and 0 deletions

View File

@ -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