Add option to modify HTTP pool size
[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