Add option to modify HTTP pool size
[akkoma] / priv / repo / migrations / 20190525071417_add_non_follows_and_non_followers_fields_to_notification_settings.exs
1 defmodule Pleroma.Repo.Migrations.AddNonFollowsAndNonFollowersFieldsToNotificationSettings do
2 use Ecto.Migration
3
4 def up do
5 execute("""
6 update users set info = jsonb_set(info, '{notification_settings}', '{"local": true, "remote": true, "follows": true, "followers": true, "non_follows": true, "non_followers": true}')
7 where local=true
8 """)
9 end
10
11 def down, do: :ok
12 end