summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20190711042021_create_safe_jsonb_set.exs
diff options
context:
space:
mode:
authorrinpatch <rin@patch.cx>2021-03-15 09:35:46 +0000
committerrinpatch <rin@patch.cx>2021-03-15 09:35:46 +0000
commit8194622a72d863e71428bf7dba9a2a962b163d4e (patch)
treecd10436a46df60542201f8c60e68aa936f771ad9 /priv/repo/migrations/20190711042021_create_safe_jsonb_set.exs
parent19fbe5b860789fb6f4958de71f9ca3ed655ee00d (diff)
parentcb734566093f406fc3db12de2408fc166486f417 (diff)
downloadpleroma-8194622a72d863e71428bf7dba9a2a962b163d4e.tar.gz
pleroma-8194622a72d863e71428bf7dba9a2a962b163d4e.zip
Merge branch 'feature/object-hashtags-rework' into 'develop'
Hashtags extraction from objects. Background migration infrastructure. Closes #1840 and #2455 See merge request pleroma/pleroma!3213
Diffstat (limited to 'priv/repo/migrations/20190711042021_create_safe_jsonb_set.exs')
-rw-r--r--priv/repo/migrations/20190711042021_create_safe_jsonb_set.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/priv/repo/migrations/20190711042021_create_safe_jsonb_set.exs b/priv/repo/migrations/20190711042021_create_safe_jsonb_set.exs
index 43d616705..bfac09f9e 100644
--- a/priv/repo/migrations/20190711042021_create_safe_jsonb_set.exs
+++ b/priv/repo/migrations/20190711042021_create_safe_jsonb_set.exs
@@ -9,7 +9,7 @@ defmodule Pleroma.Repo.Migrations.CreateSafeJsonbSet do
begin
result := jsonb_set(target, path, coalesce(new_value, 'null'::jsonb), create_missing);
if result is NULL then
- raise 'jsonb_set tried to wipe the object, please report this incindent to Pleroma bug tracker. https://git.pleroma.social/pleroma/pleroma/issues/new';
+ raise 'jsonb_set tried to wipe the object, please report this incident to Pleroma bug tracker. https://git.pleroma.social/pleroma/pleroma/issues/new';
return target;
else
return result;