Flip
Fri 12 October 2007, 02:36 pm GMT +0200
I'm just wondering why AU class is using 2 tables. Because of the following things i found:
- I don't need the "real name" column in my user table
- I like to add some other information which i wouldn't describe as a "profile"
- If you want all the user data you have to query 2 tables instead of one.
- I read how to add extra fields to the profile table but it's not really easily done since you need to modify some code. Which i think will be about the same if you want to add something to the normal user table.
Then some questions about adding more fields.
define("TBL_USERFIELD_5", "user_5");
does this needs to be succesive. I.E. user_5 user_6 user_7 and so on ?
is the TBL_USERFIELD_5 the column name of the table which i can set to anything?
And last, how do i know which user data is already available to me $user->id or something and which i have to query for ?
once again thx for your support
- I don't need the "real name" column in my user table
- I like to add some other information which i wouldn't describe as a "profile"
- If you want all the user data you have to query 2 tables instead of one.
- I read how to add extra fields to the profile table but it's not really easily done since you need to modify some code. Which i think will be about the same if you want to add something to the normal user table.
Then some questions about adding more fields.
define("TBL_USERFIELD_5", "user_5");
does this needs to be succesive. I.E. user_5 user_6 user_7 and so on ?
is the TBL_USERFIELD_5 the column name of the table which i can set to anything?
And last, how do i know which user data is already available to me $user->id or something and which i have to query for ?
once again thx for your support