a88b0ea613d06680a52bed0bba0eedc225f25493
[akkoma] /
1 defmodule Pleroma.Repo.Migrations.AddNonFollowsAndNonFollowersFieldsToNotificationSettings do
2 use Ecto.Migration
3
4 def change 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 end