[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: Run sqitch in the change mode

From: Christopher Baines
Subject: 01/02: Run sqitch in the change mode
Date: Sun, 11 Jul 2021 07:07:28 -0400 (EDT)

cbaines pushed a commit to branch master
in repository data-service.

commit b4188bda9df04231f9dee9956a68daa049a71584
Author: Christopher Baines <>
AuthorDate: Sun Jul 4 10:43:13 2021 +0100

    Run sqitch in the change mode
    Since this rolls back migrations less, which is good when the rollback bit
    isn't always implemented.
 scripts/ | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/ b/scripts/
index 481e87d..33cf2b5 100644
--- a/scripts/
+++ b/scripts/
@@ -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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]