projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix migration
[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