blob: 220c48abdb457c430ace465f32e44bc918b43392 (
plain)
1
2
3
4
5
6
7
8
9
|
defmodule Pleroma.Repo.Migrations.AddActorIndexToActivity do
use Ecto.Migration
def change do
create_if_not_exists(
index(:activities, ["(data->>'actor')", "inserted_at desc"], name: :activities_actor_index)
)
end
end
|