Old user suspension reasons have gone missing

I apologize for introducing this bug. It was a stupid mistake. :disappointed:

As per @sam’s recommendation I have created a PR to change Enums to also accept a hash, and used it almost everywhere where stability is required along with test cases:

https://github.com/discourse/discourse/pull/3950


More details here:

https://meta.discourse.org/t/enums-that-are-used-in-tables-need-to-be-stable/37622

8 Likes