create table abn_report_params
(
    id            serial
            primary key,
    sensor_id        varchar(300)                                                        not null,
    sensor_location_description  varchar(300)                                                        not null,
    factor varchar(30)                                                     not null,
    factor_id varchar(30)                                                     not null,
    abn_type          integer
        constraint t_abn_report_params_t_abn_type_id_fk
            references abn_type,
    params            jsonb                                                           not null,
    enabled           boolean default true                                            not null,
    item_index integer not null
);