projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
2aa1a012c8bf77525653ea9c9d7a1a2b3e1f1de7
[akkoma]
/
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