From e1c702f3d0f94a05c44264ec084952990c733d25 Mon Sep 17 00:00:00 2001 From: Bernd Bestel Date: Mon, 12 Jul 2021 20:45:30 +0200 Subject: [PATCH] Typo --- migrations/0139.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/migrations/0139.sql b/migrations/0139.sql index c564fc39..b180a395 100644 --- a/migrations/0139.sql +++ b/migrations/0139.sql @@ -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