Otherwise, maybe a function and a generated column (Ed: in a VIEW i guess, if it chokes on the raw enum)?
https://dba.stackexchange.com/questions/276477/immutably-con...