Cook

Create enum

create type mood as enum ('SAD', 'OK', 'HAPPY');

Add value to enum

Check type of value

select pg_typeof('{"title", "media_items"}');