Add ability to set a default post expiry (#321)
[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