Update the mute implementation to the current codebase

Make it part of the info thing (and do a migration to ensure it's there)
This commit is contained in:
Ekaterina Vaartis 2019-02-19 23:09:16 +03:00
commit 5a46d37af9
6 changed files with 64 additions and 20 deletions

View file

@ -0,0 +1,7 @@
defmodule Pleroma.Repo.Migrations.CreateUserMutes do
use Ecto.Migration
def change do
execute "UPDATE users SET info = jsonb_set(info, '{mutes}', '[]'::jsonb);"
end
end