pleroma/priv/repo/migrations/20190410152859_add_participation_updated_at_index.exs
2019-10-08 15:16:39 +03:00

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