summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20171109141309_add_sort_index_to_activities.exs
blob: 37fb2ce32deda7ce72d82366c860288988a54e52 (plain)
1
2
3
4
5
6
7
8
defmodule Pleroma.Repo.Migrations.AddSortIndexToActivities do
  use Ecto.Migration
  @disable_ddl_transaction true

  def change do
    create(index(:activities, ["id desc nulls last"], concurrently: true))
  end
end