forked from AkkomaGang/akkoma
Add an id index to notifications
This commit is contained in:
parent
b028b0f97d
commit
9725c93cea
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