If you explain better what you want to acheive, we could help you better...

Maybe you just need a self reference field name friend_id let you associate
each user which are friends. Maybe you need a many to many relation table
where you will where you can manage there friendship relation between each
user.

But for sure, forget about the idea of creating 1000 tables...

RIchard


On Wed, Aug 14, 2013 at 1:27 PM, Hunt <[email protected]> wrote:

> Really?  So I should just add like a 1000 "friend_id" fields to
> auth_user?  I thought there would an easier way to go about this.
>
> Thanks though Marin!
>
>
> On Wednesday, August 14, 2013 2:07:08 AM UTC-4, Marin Pranjić wrote:
>
>> Don't do that. It is wrong.
>> Create only one new table and put everything there
>>
>> Marin (mobile)
>>
>> On Aug 14, 2013 7:08 AM, "Hunt" <[email protected]> wrote:
>>
>> Did an absolutely atrocious job naming this question.  A better title
>> would be:  "How to auto-generate an additional table for each auth_user
>> table entry".
>>
>>
>>
>> On Tuesday, August 13, 2013 5:54:03 PM UTC-4, Hunt wrote:
>> >
>> > Hi all,
>> >
>> > I want to add a 'friends...
>>
>>
>> --
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "web2py-users"...
>>
>>  --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to