5a46d37af9
Make it part of the info thing (and do a migration to ensure it's there)
7 lines
180 B
Elixir
7 lines
180 B
Elixir
defmodule Pleroma.Repo.Migrations.CreateUserMutes do
|
|
use Ecto.Migration
|
|
|
|
def change do
|
|
execute "UPDATE users SET info = jsonb_set(info, '{mutes}', '[]'::jsonb);"
|
|
end
|
|
end
|