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