1 defmodule Pleroma.Repo.Migrations.CreateUserFtsIndex do
10 (setweight(to_tsvector('simple', regexp_replace(nickname, '\\W', ' ', 'g')), 'A') ||
11 setweight(to_tsvector('simple', regexp_replace(coalesce(name, ''), '\\W', ' ', 'g')), 'B'))
14 name: :users_fts_index,