projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'develop' into remove-twitter-api
[akkoma]
/
priv
/
repo
/
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