projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
mix.exs: bump version to 1.1.6
[akkoma]
/
priv
/
repo
/
migrations
/
20191104143558_fix_null_muted_notification_fields.exs
1
defmodule Pleroma.Repo.Migrations.FixNullMutedNotificationFields do
2
use Ecto.Migration
3
4
def change do
5
execute("update users set info = safe_jsonb_set(info, '{muted_notifications}', '[]'::jsonb, true) where local = true and info->'muted_notifications' = 'null'::jsonb")
6
end
7
end