Allow grouped primary keys in sql based backends