summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20191008132427_drop_users_following.exs
diff options
context:
space:
mode:
authorEgor Kislitsyn <egor@kislitsyn.com>2019-10-10 21:11:34 +0700
committerEgor Kislitsyn <egor@kislitsyn.com>2019-10-10 21:11:34 +0700
commit2c7ff32e5b95926af9b6573a6dc6ea96e3ba7dd5 (patch)
treed6cb0227bf1a01bd8722796b8512dbeee932e9cc /priv/repo/migrations/20191008132427_drop_users_following.exs
parent761ad0b48e552e7b199fe1a624e3d03aa91981a3 (diff)
downloadpleroma-2c7ff32e5b95926af9b6573a6dc6ea96e3ba7dd5.tar.gz
pleroma-2c7ff32e5b95926af9b6573a6dc6ea96e3ba7dd5.zip
Add `thread_visibility` to migrations
Diffstat (limited to 'priv/repo/migrations/20191008132427_drop_users_following.exs')
-rw-r--r--priv/repo/migrations/20191008132427_drop_users_following.exs2
1 files changed, 2 insertions, 0 deletions
diff --git a/priv/repo/migrations/20191008132427_drop_users_following.exs b/priv/repo/migrations/20191008132427_drop_users_following.exs
index 17805db36..21c0af9f4 100644
--- a/priv/repo/migrations/20191008132427_drop_users_following.exs
+++ b/priv/repo/migrations/20191008132427_drop_users_following.exs
@@ -1,6 +1,8 @@
defmodule Pleroma.Repo.Migrations.DropUsersFollowing do
use Ecto.Migration
+ # had to disable these to be able to restore `following` index concurrently
+ # https://hexdocs.pm/ecto_sql/Ecto.Migration.html#index/3-adding-dropping-indexes-concurrently
@disable_ddl_transaction true
@disable_migration_lock true