mirror of
https://github.com/grocy/grocy.git
synced 2026-03-27 23:29:25 +01:00
Typo
This commit is contained in:
parent
71cede74a3
commit
e1c702f3d0
|
|
@ -88,7 +88,7 @@ BEGIN
|
|||
AND type = 'recipe'
|
||||
AND recipe_id IS NOT NULL;
|
||||
|
||||
-- Enforce "when null then empty" for certain columns
|
||||
-- Enforce "when empty then null" for certain columns
|
||||
UPDATE meal_plan
|
||||
SET recipe_id = NULL
|
||||
WHERE id = NEW.id
|
||||
|
|
@ -311,7 +311,7 @@ BEGIN
|
|||
AND type = 'recipe'
|
||||
AND recipe_id IS NOT NULL;
|
||||
|
||||
-- Enforce "when null then empty" for certain columns
|
||||
-- Enforce "when empty then null" for certain columns
|
||||
UPDATE meal_plan
|
||||
SET recipe_id = NULL
|
||||
WHERE id = NEW.id
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user