Don't try to make a backup on inital deployment.

This commit is contained in:
2026-07-25 11:00:20 -07:00
parent 2721249a89
commit 9f89356c85
4 changed files with 60 additions and 46 deletions

View File

@@ -378,7 +378,8 @@ where usa.user_id=$1 and usa.instance_id=$2;"
'((queued . "queued")
(in-progress . "in-progress")
(complete . "complete")
(failed . "failed")))
(failed . "failed")
(ignored . "ignored")))
(define (create-deployment conn user-id instance-id)
(value-at
(query conn
@@ -660,7 +661,8 @@ where user_id=$1;"
(5 . "adding-wordpress-app")
(6 . "adding-lldap-app")
(7 . "adding-authelia-app")
(8 . "adding-backblaze-bucket-name-and-id")))
(8 . "adding-backblaze-bucket-name-and-id")
(9 . "extend-deployment-status-add-ignored")))
(define (run-pending-migrations conn)
(let* ((migration-ids (sort (map car *migrations*) <))