akkoma/priv/repo/migrations/20190219192317_create_user_mutes.exs

8 lines
180 B
Elixir
Raw Normal View History

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