re: Postgres enums with Rails VIEW POST

VIEW PARENT COMMENT VIEW FULL DISCUSSION
 

Nice post @dsalahutdinov , apart from what @antico5 says I see another detail here, is that the last one should be

WHEN 2 THEN 'telegram'::user_notification_channel

instead of

WHEN 2 THEN 'facebook'::user_notification_channel
 
code of conduct - report abuse