akkoma/priv/repo/migrations/20221129110627_add_bookmarks_activity_id_index.exs

8 lines
159 B
Elixir
Raw Normal View History

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