CREATE TABLE drive_car_document_assignment_history (
    history_event_id SERIAL PRIMARY KEY,
    history_user_id uuid NOT NULL,
    history_action text NOT NULL,
    history_timestamp integer NOT NULL,
    history_comment text,
    history_originator_id text,

    id uuid not null,
    assigned_at timestamp with time zone,
    unassigned_at timestamp with time zone,
    assigned_by_id uuid,
    car_id uuid not null,
    document_id uuid not null,
    unassigned_by_id uuid
);
