projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request 'Add dark and light theme mode to docs, detection, and button...
[akkoma]
/
priv
/
repo
/
migrations
/
20190123125839_fix_info_ids.exs
1
defmodule Pleroma.Repo.Migrations.FixInfoIds do
2
use Ecto.Migration
3
4
def up 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
10
def down, do: :ok
11
end