mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-10 03:17:51 +00:00
11 lines
319 B
Elixir
11 lines
319 B
Elixir
defmodule Pleroma.Repo.Migrations.RemoveUnusedIndices do
|
|
use Ecto.Migration
|
|
|
|
def change do
|
|
drop_if_exists(
|
|
index(:activities, ["(data->>'actor')", "inserted_at desc"], name: :activities_actor_index)
|
|
)
|
|
|
|
drop_if_exists(index(:objects, ["(data->'tag')"], using: :gin, name: :objects_tags))
|
|
end
|
|
end
|