1
0
Fork 0
mirror of https://git.pleroma.social/pleroma/pleroma.git synced 2026-02-15 17:16:57 +00:00

Add an id index to notifications

This commit is contained in:
rinpatch 2019-03-25 21:59:52 +03:00
parent b028b0f97d
commit 9725c93cea

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