Browse Source

Participations: Add sort index.

tags/v1.1.4
lain 5 years ago
parent
commit
de57094fca
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      priv/repo/migrations/20190410152859_add_participation_updated_at_index.exs

+ 7
- 0
priv/repo/migrations/20190410152859_add_participation_updated_at_index.exs View File

@@ -0,0 +1,7 @@
defmodule Pleroma.Repo.Migrations.AddParticipationUpdatedAtIndex do
use Ecto.Migration

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

Loading…
Cancel
Save