From 751f9ddf96837590047f0ab16353e17855d52e8f Mon Sep 17 00:00:00 2001 From: Rikard Bartholf Date: Thu, 10 Feb 2022 13:46:17 +0100 Subject: [PATCH] Fix crashing invoice reports (#253) * Fix crashing invoice reports * Fix typo --- migrations/000.357.sql | 1 + 1 file changed, 1 insertion(+) create mode 100644 migrations/000.357.sql diff --git a/migrations/000.357.sql b/migrations/000.357.sql new file mode 100644 index 0000000..6404948 --- /dev/null +++ b/migrations/000.357.sql @@ -0,0 +1 @@ +UPDATE orders SET payment_type = 'none' WHERE order_sum <= 0 AND payment_type IS NULL;