Browse Source

Add an id index to notifications

tags/v1.1.4
rinpatch 5 years ago
parent
commit
9725c93cea
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      priv/repo/migrations/20190325185009_create_notification_id_index.exs

+ 7
- 0
priv/repo/migrations/20190325185009_create_notification_id_index.exs View File

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

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

Loading…
Cancel
Save