Yeah, it's possible. Example:

relations() ->
  [{many_to_many, [{relation_table, foo}]}].

The id fields should be user_id1 and user_id2.

Yariv

On Fri, Oct 3, 2008 at 7:30 AM, Ruud <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Is it possible to have a custom many_to_many table name?
> And
> If this custom table is for example a friends table, what to do with
> user_id and the other user_id ?
>
> regards, Ruud
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"erlyweb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to