CREATE TABLE clothing
(
    id          SERIAL      PRIMARY KEY,
    name        TEXT        NOT NULL
);

INSERT INTO clothing (name) VALUES ('Tuchuniform');

ALTER TABLE event
    ALTER COLUMN clothing SET DATA TYPE INTEGER USING 1,
    ADD FOREIGN KEY (clothing) REFERENCES clothing (id) ON DELETE CASCADE;
