summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20190410152859_add_participation_updated_at_index.exs
blob: e22c6e57d9321d07944b3a3f274db6b0167e9417 (plain)
1
2
3
4
5
6
7
defmodule Pleroma.Repo.Migrations.AddParticipationUpdatedAtIndex do
  use Ecto.Migration

  def change do
    create_if_not_exists(index(:conversation_participations, ["updated_at desc"]))
  end
end