akkoma/priv/repo/migrations/20221129105331_add_notification_activity_id_index.exs
floatingghost db60640c5b
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Fixing up deletes a bit (#327)
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: #327
2022-12-01 15:00:53 +00:00

7 lines
166 B
Elixir

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