blob: b717cab2e8ec546c59b881d55c6781f0b9660ab8 (
plain)
1
2
3
4
5
6
7
8
|
defmodule Pleroma.Repo.Migrations.CopyMutedToMutedNotifications do
use Ecto.Migration
alias Pleroma.User
def change do
execute("update users set info = jsonb_set(info, '{muted_notifications}', info->'mutes', true) where local = true")
end
end
|