projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Put the cache with the right key when using a tracking function
[akkoma]
/
priv
/
repo
/
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