Add changelog entry for hashtag following
[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