projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
2b4c2b5a9e3b5a4dda3ca1e863bbb6d522cb21fe
[akkoma]
/
priv
/
repo
/
migrations
/
20190123125839_fix_info_ids.exs
1
defmodule Pleroma.Repo.Migrations.FixInfoIds do
2
use Ecto.Migration
3
4
def change do
5
execute(
6
"update users set info = jsonb_set(info, '{id}', to_jsonb(uuid_generate_v4())) where info->'id' is null;"
7
)
8
end
9
end