summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20210121080964_add_default_text_search_config.exs
blob: 09b6cccc9830006d68a5db65ae29f74ba666adc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
defmodule Pleroma.Repo.Migrations.AddDefaultTextSearchConfig do
  use Ecto.Migration

  def change do
    execute("DO $$
    BEGIN
    execute 'ALTER DATABASE '||current_database()||' SET default_text_search_config = ''english'' ';
    END
    $$;")
  end
end