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

    state_id text NOT NULL,
    state_description text,
    state_priority integer NOT NULL,
    state_filter jsonb NOT NULL,
    sensor_filter jsonb
);
