GDPR and the Digest email

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)
2 Likes