create table t_quality_check_result
(
    id         bigserial not null
        constraint t_quality_check_result_pkey
            primary key,
    database   text,
    mode       text,
    total      bigint,
    unexpected bigint
);

create unique index idx_unique_db_mode
    on t_quality_check_result (database, mode);

