1 defmodule Pleroma.Repo.Migrations.DropUserTrigramIndex do
2 @moduledoc "Drops unused trigram index on `users` (FTS index is being used instead)"
7 drop_if_exists(index(:users, [], name: :users_trigram_index))
12 index(:users, ["(trim(nickname || ' ' || coalesce(name, ''))) gist_trgm_ops"],
13 name: :users_trigram_index,