From b4188bda9df04231f9dee9956a68daa049a71584 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sun, 4 Jul 2021 10:43:13 +0100 Subject: Run sqitch in the change mode Since this rolls back migrations less, which is good when the rollback bit isn't always implemented. --- scripts/guix-data-service.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts') diff --git a/scripts/guix-data-service.in b/scripts/guix-data-service.in index 481e87d..33cf2b5 100644 --- a/scripts/guix-data-service.in +++ b/scripts/guix-data-service.in @@ -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 -- cgit v1.2.3