Commit 49afbcda authored by Haelwenn's avatar Haelwenn
Browse files

Merge branch 'fix-migration' into 'develop'

Fix migration in cases where database name has a hyphen

See merge request !3359
parents 37c37090 5b8cceba
Pipeline #35336 passed with stages
in 85 minutes and 13 seconds
......@@ -4,7 +4,7 @@ defmodule Pleroma.Repo.Migrations.AddDefaultTextSearchConfig do
def change do
execute("DO $$
BEGIN
execute 'ALTER DATABASE '||current_database()||' SET default_text_search_config = ''english'' ';
execute 'ALTER DATABASE \"'||current_database()||'\" SET default_text_search_config = ''english'' ';
END
$$;")
end
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment