https://github.com/duckduckgo/community-platform/blob/master/lib/DDGC/DB/Result/User.pm#L231

admin is an int, flag is json in db with (potential) multiple roles entered, is this what you mean?