akkoma/priv/repo/migrations/20221129105331_add_notification_activity_id_index.exs

8 lines
166 B
Elixir
Raw Normal View History

defmodule Pleroma.Repo.Migrations.AddNotificationActivityIdIndex do
use Ecto.Migration
def change do
create(index(:notifications, [:activity_id]))
end
end