Skip to content
Snippets Groups Projects
Commit 04735db1 authored by lain's avatar lain
Browse files

Build the index concurrently.

parent 5027f82c
No related branches found
No related tags found
No related merge requests found
defmodule Pleroma.Repo.Migrations.AddVisibilityFunction do
use Ecto.Migration
@disable_ddl_transaction true
def up do
definition = """
......@@ -29,7 +30,8 @@ defmodule Pleroma.Repo.Migrations.AddVisibilityFunction do
create(
index(:activities, ["activity_visibility(actor, recipients, data)"],
name: :activities_visibility_index
name: :activities_visibility_index,
concurrently: true
)
)
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment