CREATE TABLE drive_images_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,

    image_id bigint,
    active_markup BOOLEAN,
    path TEXT NOT NULL,
    source TEXT NOT NULL,
    object_type TEXT NOT NULL,
    object_id uuid NOT NULL,
    session_id uuid,
    meta TEXT,
    created_at integer
)
