CREATE TABLE named_filters_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,
    display_name text NOT NULL,
    description text,
    type text NOT NULL,
    priority integer NOT NULL,
    revision integer NOT NULL,
    filter jsonb NOT NULL
);
