Merge pull request 'Drop XSS auditor' (#292) from r3g_5z/akkoma:drop-xss-auditor...
[akkoma] / priv / repo / migrations / 20190325185009_create_notification_id_index.exs
1 defmodule Pleroma.Repo.Migrations.CreateNotificationIdIndex do
2 use Ecto.Migration
3
4 def change do
5 create_if_not_exists(index(:notifications, ["id desc nulls last"]))
6 end
7 end