From 5f09d4def194624003e22c37ed6093cdbf263cbb Mon Sep 17 00:00:00 2001 From: Bernd Bestel Date: Tue, 22 Dec 2020 21:19:55 +0100 Subject: [PATCH] Fix potential problem when running/upgrading grocy v3.0.0 with SQLite > 3.8.3 < 3.9.0 (references #1209) --- migrations/0105.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migrations/0105.sql b/migrations/0105.sql index c20cf5f7..842e6e61 100644 --- a/migrations/0105.sql +++ b/migrations/0105.sql @@ -30,7 +30,7 @@ FROM ( FROM stock_current WHERE best_before_date IS NOT NULL UNION - SELECT m.id, 0, 0, 0, null, 0, 0, 0, p.due_type + SELECT m.id, 0, 0, 0, null, 0, 0, 0 FROM stock_missing_products_including_opened m JOIN products p ON m.id = p.id