This hasn’t been tested (so do a database-only backup first), but this should do it:
cd /var/discourse
./launcher enter app
rails c
User.real.where("not admin").update_all(email_digests: false)
This hasn’t been tested (so do a database-only backup first), but this should do it:
cd /var/discourse
./launcher enter app
rails c
User.real.where("not admin").update_all(email_digests: false)