projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'domain-block-precedence' into 'develop'
[akkoma]
/
priv
/
repo
/
migrations
/
20191005165212_add_unread_conversation_count_to_user_info.exs
1
defmodule Pleroma.Repo.Migrations.AddUnreadConversationCountToUserInfo do
2
use Ecto.Migration
3
4
def up do
5
execute("""
6
update users set info = jsonb_set(info, '{unread_conversation_count}', 0::varchar::jsonb, true) where local=true
7
""")
8
end
9
10
def down, do: :ok
11
end