Wow that's pretty neat,

how do I do something like this with Propel ?

On 10. Dec., 13:36 h., "Thomas Rabaix" <[EMAIL PROTECTED]>
wrote:
> in your model sfGuardUser, just do something like this :
>   public function setTableDefinition()
>   {
>      parent::setTableDefinition()
>
>     $this->hasColumn('dob', 'date', null, array('type' => 'date'));
>  }
>
> if you need to had a relation ship
>
> do the same thing but inside the setUp method
>
>   public function setUp()
>   {
>     parent::setUp();
>    $this->hasMany('Post as Posts', array('local' => 'id',
>                                            'foreign' => 'user_id'));
>
> }
> On Wed, Dec 10, 2008 at 9:27 AM, zero0x <[EMAIL PROTECTED]> wrote:
>
> > Hey, is there a simple way to add columns to sfGuardUser (for
> > doctrine) - or should I create a Profile?
>
> --
> Thomas Rabaix
> Internet Consultant
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to