projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
c17da8309ffbe218d3165aa16a9d391c4c9a38dd
[akkoma]
/
migrations
/
20170916090107_add_fts_index_to_activities.exs
1
defmodule Pleroma.Repo.Migrations.AddFTSIndexToActivities do
2
use Ecto.Migration
3
@disable_ddl_transaction true
4
5
def change do
6
create index(:activities, ["(to_tsvector('english', data->'object'->>'content'))"], concurrently: true, using: :gin, name: :activities_fts)
7
end
8
end