activitypub: support filtering activities by whether or not they are a reply (closes #109)
This commit is contained in:
parent
25946f772d
commit
4f589998ee
2 changed files with 18 additions and 0 deletions
|
|
@ -0,0 +1,8 @@
|
|||
defmodule Pleroma.Repo.Migrations.CreateActivitiesInReplyToIndex do
|
||||
use Ecto.Migration
|
||||
@disable_ddl_transaction true
|
||||
|
||||
def change do
|
||||
create index(:activities, ["(data->'object'->>'inReplyTo')"], concurrently: true, name: :activities_in_reply_to)
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue