From bae4a7f04cb7d4e2df5a24e933dcec2b6c2b5968 Mon Sep 17 00:00:00 2001 From: Bernd Bestel Date: Sat, 5 Aug 2023 21:51:13 +0200 Subject: [PATCH] Added missing semicolon --- migrations/0224.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migrations/0224.sql b/migrations/0224.sql index b889fcae..dfdaff37 100644 --- a/migrations/0224.sql +++ b/migrations/0224.sql @@ -130,4 +130,4 @@ WHERE sl.undone = 0 OR (sl.transaction_type = 'stock-edit-new' AND sl.stock_id IN (SELECT stock_id FROM stock_edited_entries) AND sl.id IN (SELECT stock_log_id_of_newest_edited_entry FROM stock_edited_entries)) ) AND IFNULL(sl.price, 0) > 0 - AND IFNULL(sl.amount, 0) > 0 + AND IFNULL(sl.amount, 0) > 0;