summaryrefslogtreecommitdiff
path: root/priv/repo/optional_migrations
diff options
context:
space:
mode:
authorhyperion <8027-hyperion@users.noreply.git.pleroma.social>2021-02-06 09:42:17 +0000
committerrinpatch <rinpatch@sdf.org>2021-02-06 09:42:17 +0000
commit8d4e0342e1b5ebbe486dc538e3c8fe81d53220e6 (patch)
tree0f8779125f24793369647b632397ee10850e53a3 /priv/repo/optional_migrations
parent7f0787163999fc0ac0c6fcfd0c13f80c5a55266d (diff)
downloadpleroma-8d4e0342e1b5ebbe486dc538e3c8fe81d53220e6.tar.gz
pleroma-8d4e0342e1b5ebbe486dc538e3c8fe81d53220e6.zip
Update priv/repo/migrations/20190501125843_add_fts_index_to_objects.exs, priv/repo/optional_migrations/rum_indexing/20190510135645_add_fts_index_to_objects_two.exs files
Diffstat (limited to 'priv/repo/optional_migrations')
-rw-r--r--priv/repo/optional_migrations/rum_indexing/20190510135645_add_fts_index_to_objects_two.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/priv/repo/optional_migrations/rum_indexing/20190510135645_add_fts_index_to_objects_two.exs b/priv/repo/optional_migrations/rum_indexing/20190510135645_add_fts_index_to_objects_two.exs
index 82e02281d..88476fb57 100644
--- a/priv/repo/optional_migrations/rum_indexing/20190510135645_add_fts_index_to_objects_two.exs
+++ b/priv/repo/optional_migrations/rum_indexing/20190510135645_add_fts_index_to_objects_two.exs
@@ -17,7 +17,7 @@ defmodule Pleroma.Repo.Migrations.AddFtsIndexToObjectsTwo do
execute("CREATE FUNCTION objects_fts_update() RETURNS trigger AS $$
begin
- new.fts_content := to_tsvector('english', new.data->>'content');
+ new.fts_content := to_tsvector(new.data->>'content');
return new;
end
$$ LANGUAGE plpgsql")