forked from AkkomaGang/akkoma
Merge branch 'fix/notification-id-index' into 'develop'
Add an `id desc nulls last` index to notifications See merge request pleroma/pleroma!975
This commit is contained in:
commit
15aa94f40f
1 changed files with 7 additions and 0 deletions
|
@ -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…
Reference in a new issue