projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add migration for counter_cache table update
[akkoma]
/
priv
/
repo
/
migrations
/
20181201105617_add_uui_ds_to_user_info.exs
1
defmodule Pleroma.Repo.Migrations.AddUUIDsToUserInfo do
2
use Ecto.Migration
3
4
def up do
5
execute("update users set info = jsonb_set(info, '{\"id\"}', to_jsonb(uuid_generate_v4()))")
6
end
7
8
def down, do: :ok
9
end