Postgres перечисленный тип
CREATE TYPE mood AS ENUM ('sad', 'ok', 'happy');
Tired Termite
CREATE TYPE mood AS ENUM ('sad', 'ok', 'happy');