CREATE TABLE service_documents_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,
    
    document_name text NOT NULL,
    document_meta text,
    comment text,
    content_type text NOT NULL,
    active boolean NOT NULL
);
