mirror of
https://github.com/grocy/grocy.git
synced 2025-04-30 10:05:45 +00:00
Typo
This commit is contained in:
parent
71cede74a3
commit
e1c702f3d0
@ -88,7 +88,7 @@ BEGIN
|
|||||||
AND type = 'recipe'
|
AND type = 'recipe'
|
||||||
AND recipe_id IS NOT NULL;
|
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
|
UPDATE meal_plan
|
||||||
SET recipe_id = NULL
|
SET recipe_id = NULL
|
||||||
WHERE id = NEW.id
|
WHERE id = NEW.id
|
||||||
@ -311,7 +311,7 @@ BEGIN
|
|||||||
AND type = 'recipe'
|
AND type = 'recipe'
|
||||||
AND recipe_id IS NOT NULL;
|
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
|
UPDATE meal_plan
|
||||||
SET recipe_id = NULL
|
SET recipe_id = NULL
|
||||||
WHERE id = NEW.id
|
WHERE id = NEW.id
|
||||||
|
Loading…
x
Reference in New Issue
Block a user