diff options
Diffstat (limited to 'protected/models/Angebot.php')
| -rw-r--r-- | protected/models/Angebot.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/protected/models/Angebot.php b/protected/models/Angebot.php index baa31b8..7791bcb 100644 --- a/protected/models/Angebot.php +++ b/protected/models/Angebot.php @@ -55,7 +55,8 @@ class Angebot extends CActiveRecord // NOTE: you may need to adjust the relation name and the related // class name for the relations automatically generated below. return array( - "kategorie"=>array(self::HAS_ONE, "Kategorie", array('id'=>'kategorie_id')) + "kategorie"=>array(self::HAS_ONE, "Kategorie", array('id'=>'kategorie_id')), + "angebot_vereine"=>array(self::HAS_MANY, "AngebotVerein", array('angebot_id'=>'id')) ); } |
