public function relations()
{
// NOTE: you may need to adjust the relation name and the related
// class name for the relations automatically generated below.
return array('drugs' => array(self::MANY_MANY, 'Drug', 'drug_allergy_assignment(allergy_id,drug_id)'));
}