$rules[]="[['".$columnsList."'], 'unique', 'targetAttribute' => ['".$columnsList."'], 'message' => 'The combination of ".implode(', ',$labels)." and ".$lastLabel." has already been taken.']";
}
}
}catch(NotSupportedException$e){
// doesn't support unique indexes information...do nothing