projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'develop' into refactor/following-relationships
[akkoma]
/
priv
/
repo
/
migrations
/
20190711042024_copy_muted_to_muted_notifications.exs
1
defmodule Pleroma.Repo.Migrations.CopyMutedToMutedNotifications do
2
use Ecto.Migration
3
alias Pleroma.User
4
5
def change do
6
execute(
7
"update users set info = safe_jsonb_set(info, '{muted_notifications}', info->'mutes', true) where local = true"
8
)
9
end
10
end