pleroma/priv/repo/migrations/20221129110627_add_bookmarks_activity_id_index.exs
floatingghost a5b9fb0275
Fixing up deletes a bit (#327)
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/327
2022-12-02 14:44:07 +01:00

7 lines
159 B
Elixir

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