CREATE TABLE drive_car_document_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,
    type character varying(32) NOT NULL,
    added_at timestamp with time zone,
    added_by_id uuid,
    car_hardware_beacon_id uuid,
    car_hardware_sim_id uuid,
    car_hardware_vega_id uuid,
    car_hardware_head_id uuid,
    car_hardware_modem_id uuid,
    car_registry_document_id uuid,
    car_insurance_policy_id integer,
    blob character varying(8192),
    modified_at timestamp with time zone
);
