diff options
author | lain <lain@soykaf.club> | 2019-04-10 17:30:25 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2019-04-10 17:30:25 +0200 |
commit | de57094fca505e7dbf1a84fef5fb31fae68f2709 (patch) | |
tree | 466c59b1d4bb942b98c6bc0d589ea989e0da05b4 | |
parent | cf353514feff50c2ccb9a8079ce5e695eb7f8cb6 (diff) | |
download | pleroma-de57094fca505e7dbf1a84fef5fb31fae68f2709.tar.gz |
Participations: Add sort index.
-rw-r--r-- | priv/repo/migrations/20190410152859_add_participation_updated_at_index.exs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/priv/repo/migrations/20190410152859_add_participation_updated_at_index.exs b/priv/repo/migrations/20190410152859_add_participation_updated_at_index.exs new file mode 100644 index 000000000..1ce688c52 --- /dev/null +++ b/priv/repo/migrations/20190410152859_add_participation_updated_at_index.exs @@ -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 |