diff --git a/schema/functions/rollforward.sql b/schema/functions/rollforward.sql index be064d1..672a89e 100644 --- a/schema/functions/rollforward.sql +++ b/schema/functions/rollforward.sql @@ -116,7 +116,7 @@ BEGIN UPDATE evt.fspr f SET - prop = f.prop || '{"rf":"global"}'::jsonb + prop = COALESCE(f.prop,'{}'::jsonb) || '{"rf":"global"}'::jsonb FROM touched t WHERE