Het John,
You cannot do this with a many to many relation. In this case you could
explicitly map the join table and use 2 many to one relations.
Or propose a workable syntax to extend dbo?
Regards,
Koen
On May 30, 2011 11:50 PM, "John Robson" <[email protected]> wrote:
> Hello everyone.
>
> I created a relationship N-M:
>
> User:
> Wt::Dbo::hasMany(a, projects, Wt::Dbo::ManyToMany, "users_has_projects");
>
> Project:
> Wt::Dbo::hasMany(a, users, Wt::Dbo::ManyToMany, "users_has_projects");
>
> How do I add fields (attributes) in the table "users_has_projects" ?
>
> Directly by PostgreSQL, or I can do this by Wt?!
>
> Thank you,
>
> John
>
>
>
------------------------------------------------------------------------------
> vRanger cuts backup time in half-while increasing security.
> With the market-leading solution for virtual backup and recovery,
> you get blazing-fast, flexible, and affordable data protection.
> Download your free trial now.
> http://p.sf.net/sfu/quest-d2dcopy1
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest