11 lines
		
	
	
	
		
			264 B
		
	
	
	
		
			Elixir
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			264 B
		
	
	
	
		
			Elixir
		
	
	
	
	
	
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
 |