akkoma/priv/repo/migrations/20190410152859_add_participation_updated_at_index.exs
2019-07-01 01:08:07 +00:00

7 lines
198 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