projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
fc9bf70baf477ac311a6a7de488d67a15e0ab8d6
[akkoma]
/
20190711042024_copy_muted_to_muted_notifications.exs
1
defmodule Pleroma.Repo.Migrations.CopyMutedToMutedNotifications do
2
use Ecto.Migration
3
4
def change do
5
execute(
6
"update users set info = safe_jsonb_set(info, '{muted_notifications}', info->'mutes', true) where local = true"
7
)
8
end
9
end