1
0
mirror of synced 2024-12-14 07:06:04 +03:00
This commit is contained in:
zYne 2007-09-20 19:58:34 +00:00
parent cfededd6e7
commit da437ddfa5

View File

@ -1,5 +1,4 @@
<?php
class gnatUserTable { }
class gnatUser extends Doctrine_Record
@ -13,7 +12,7 @@ class gnatUser extends Doctrine_Record
public function setUp()
{
parent::setUp();
$this->ownsOne('gnatEmail as Email', array('local'=>'foreign_id','foreign'=>'id','onDelete'=>'CASCADE'));
$this->hasOne('gnatEmail as Email', array('local'=> 'foreign_id', 'foreign'=>'id', 'onDelete'=>'CASCADE'));
}
}