mirror of
https://github.com/grocy/grocy.git
synced 2025-04-30 18:12:44 +00:00
Fix potential problem when running/upgrading grocy v3.0.0 with SQLite > 3.8.3 < 3.9.0 (references #1209)
This commit is contained in:
parent
cf05be35fe
commit
5f09d4def1
@ -30,7 +30,7 @@ FROM (
|
|||||||
FROM stock_current
|
FROM stock_current
|
||||||
WHERE best_before_date IS NOT NULL
|
WHERE best_before_date IS NOT NULL
|
||||||
UNION
|
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
|
FROM stock_missing_products_including_opened m
|
||||||
JOIN products p
|
JOIN products p
|
||||||
ON m.id = p.id
|
ON m.id = p.id
|
||||||
|
Loading…
x
Reference in New Issue
Block a user