CREATE TABLE IF NOT EXISTS tickets (
    id INTEGER GENERATED ALWAYS AS IDENTITY PRIMARY KEY,
    category category NOT NULL DEFAULT 'Sonstiges',
    betreff VARCHAR(100),
    description TEXT,
    room SMALLINT,
    status status NOT NULL DEFAULT 'ToDo',
    date TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
    user_id SMALLINT
);
