create table attribute_table ( blob_uni int, attribute text, value text ); create unique index a_t_uni on attribute_table ( blob_uni, attribute );