mirror of
https://github.com/grocy/grocy.git
synced 2026-04-08 21:46:16 +02: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…
Reference in New Issue
Block a user