honkoma/priv/repo/migrations/20190410152859_add_particip...

8 lines
199 B
Elixir

defmodule Pleroma.Repo.Migrations.AddParticipationUpdatedAtIndex do
use Ecto.Migration
def change do
create_if_not_exists(index(:conversation_participations, ["updated_at desc"]))
end
end