CREATE TABLE drive_incidents_history (
    history_event_id BIGSERIAL PRIMARY KEY,
    history_user_id TEXT NOT NULL,
    history_originator_id TEXT,
    history_action TEXT NOT NULL,
    history_timestamp INTEGER NOT NULL,
    history_comment TEXT,

    incident_id UUID NOT NULL,
    "incident_serial_id" BIGINT NOT NULL,
    incident_type TEXT NOT NULL,
    initiated_at_timestamp BIGINT NOT NULL,
    status TEXT NOT NULL,

    session_id CHARACTER VARYING(36),
    user_id UUID,
    car_id UUID,
    meta TEXT
);
