Created
March 17, 2019 00:59
-
-
Save daGrevis/2bb77784ad2ebaed5c3d023dc2e7d869 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| UPDATE "messages" | |
| SET | |
| "meta" = jsonb_set("meta", '{mode}', concat('"', "text", '"')::jsonb), | |
| "text" = concat("nick", ' set ', "text", ' on ', "meta"->>'param'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment