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:
parent
465b547c90
commit
5a46d37af9
6 changed files with 64 additions and 20 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue