discourse/db
Sam Saffron 5c524ea8a4 FEATURE: introduce dedicated storage and DB constraints for anon users
Previously we used custom fields to denote a user was anonymous, this was
risky in that custom fields are prone to race conditions and are not
properly dedicated, missing constraints and so on.

The new table `anonymous_users` is properly protected. There is only one
possible shadow account per user, which is enforced using a constraint.

Every anonymous user will have a unique row in the new table.
2019-05-29 14:26:24 +10:00
..
fixtures DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
migrate FEATURE: introduce dedicated storage and DB constraints for anon users 2019-05-29 14:26:24 +10:00
post_migrate Make rubocop happy. 2019-05-13 09:55:44 +08:00
api_test_seeds.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00