Skip to content

Commit

Permalink
correct the schema.json jsonb ambiguous fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yuntianhu committed Apr 17, 2024
1 parent 16e2238 commit 6ecd90d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
UPDATE ${myuniversity}_${mymodule}.invoices AS i
SET jsonb = jsonb || jsonb_build_object('voucherNumber', v.jsonb ->> 'voucherNumber')
SET jsonb = i.jsonb || jsonb_build_object('voucherNumber', v.jsonb ->> 'voucherNumber')
FROM ${myuniversity}_${mymodule}.vouchers AS v
WHERE i.id = v.invoiceId;

0 comments on commit 6ecd90d

Please sign in to comment.