Cómo crear enum en PostgreSQL
CREATE TYPE enum_name AS ENUM('value1', 'value2', 'value3');
Lux
CREATE TYPE enum_name AS ENUM('value1', 'value2', 'value3');
CREATE TYPE mood AS ENUM ('sad', 'ok', 'happy');