Commit 04735db1 authored by lain's avatar lain
Browse files

Build the index concurrently.

parent 5027f82c
Pipeline #6110 passed with stages
in 3 minutes and 40 seconds
defmodule Pleroma.Repo.Migrations.AddVisibilityFunction do
use Ecto.Migration
@disable_ddl_transaction true
def up do
definition = """
......@@ -29,7 +30,8 @@ def up do
index(:activities, ["activity_visibility(actor, recipients, data)"],
name: :activities_visibility_index
name: :activities_visibility_index,
concurrently: true
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