This website works better with JavaScript.
Home
Explore
lain.church
Help
Register
Sign In
squeegily
/
pleroma
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
42
Wiki
Activity
Browse Source
Add an id index to notifications
tags/v1.1.4
rinpatch
5 years ago
parent
b028b0f97d
commit
9725c93cea
1 changed files
with
7 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+7
-0
priv/repo/migrations/20190325185009_create_notification_id_index.exs
+ 7
- 0
priv/repo/migrations/20190325185009_create_notification_id_index.exs
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
Write
Preview
Loading…
Cancel
Save