1 2 3 4 5
CREATE TYPE tag_category AS ENUM('cont', 'ero', 'tech'); ALTER TABLE tags ADD COLUMN cat tag_category NOT NULL DEFAULT 'cont';