Postgres Créer un type
# Create ENUM type
CREATE TYPE payment_type AS ENUM ('CARD', 'PAYPAL');
# Create type that returns multiple values
CREATE TYPE film_type AS (
film_id INT,
title VARCHAR,
release_year SMALLINT
);
Obedient Oyster