CREATE TYPE primary_attribute AS ENUM ('strength', 'agility', 'intelligence', 'universal'); CREATE TYPE attack_type AS ENUM ('melee', 'ranged'); CREATE TABLE heroes ( id SERIAL PRIMARY KEY, name TEXT NOT NULL UNIQUE, primary_attribute primary_attribute NOT NULL, attack_type attack_type NOT NULL, image_url TEXT NOT NULL );