CREATE TYPE category AS ENUM('Whiteboard Beamer', 'Internet', 'iPad Koffer', 'Apple TV', 'Docu Cam', 'Sonstiges')

CREATE TABLE IF NOT EXISTS tickets (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    category category NOT NULL DEFAULT 'Sonstiges',
    betreff VARCHAR(100),
    description VARCHAR,
    room SMALLINT,
    user_id SMALLINT
);
