projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
4dcfe6de903ae976b80c9aa47049c4a667b8050c
[akkoma]
/
migrations
/
20200527104138_change_notification_user_index.exs
1
defmodule Pleroma.Repo.Migrations.ChangeNotificationUserIndex do
2
use Ecto.Migration
3
4
def change do
5
drop_if_exists(index(:notifications, [:user_id]))
6
create_if_not_exists(index(:notifications, [:user_id, "id desc nulls last"]))
7
end
8
end