discourse/lib/migration
Martin Brennan 14edec846f
DEV: Rename anonymous group to anonymous_users (#40435) (#40629)
**This is a backport of
5ff45e59b7**

Followup 9359227645

As pointed out in https://meta.discourse.org/t/-/404037,
the group name "anonymous" is too generic and can conflict
with existing _users_ as well as existing groups. This commit
renames it to "anonymous_users" to avoid such conflicts, and
also to match "logged_in_users" a bit better.

In addition, this PR fixes some issues with the upcoming
change introduced in 9359227645bb3a3cb4c17d9313d9aadfc545c563...
the anonymous/logged_in_users groups were not showing in the admin
UI when the UC was enabled, and the logic for keeping everyone
saved in the DB for now was not working for site settings.
2026-06-09 10:24:11 +10:00
..
base_dropper.rb DEV: Remove logical OR assignment of constants (#29201) 2024-10-16 10:09:07 +08:00
column_dropper.rb DEV: Enable Style/RedundantSelf rubocop rule (#40098) 2026-05-19 19:27:45 +02:00
group_mention_slug_rewriter.rb DEV: Rename anonymous group to anonymous_users (#40435) (#40629) 2026-06-09 10:24:11 +10:00
helpers.rb FIX: Do not show new upcoming change dot on new sites and new staff (#39682) 2026-05-05 12:02:08 +10:00
safe_migrate.rb DEV: Correct method signature of NiceErrors#migrate (#37065) 2026-01-12 19:28:49 +00:00
table_dropper.rb