projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
2c117dbee69547a1e4eab190ef94583783a9123f
[akkoma]
/
priv
/
repo
/
migrations
/
20190128181211_split_hide_network.exs
1
defmodule Pleroma.Repo.Migrations.SplitHideNetwork do
2
use Ecto.Migration
3
4
def up do
5
execute("UPDATE users SET info = jsonb_set(jsonb_set(info, '{hide_followers}'::text[], info->'hide_network'), '{hide_followings}'::text[], info->'hide_network')")
6
end
7
8
def down do
9
end
10
end