Log in

View Full Version : What if I add a field to ForumUser ???


mistyPotato
09-30-2007, 08:59 PM
Does anyone know if any problem might arise simply by adding a new field to the FORUMUSER table?

I want to add a field for keeping a count of the number of visits (log ins) by members.

I just want that field to hold an incremental count of each time a member logs in.

I'm not so much worried about the coding as the effect of adding the field.

Thanks

WhaLberg
09-30-2007, 11:37 PM
Ofcourse you may not face any errors if you add a field to a table as long as you add it right. :)

mistyPotato
10-01-2007, 12:02 AM
Ofcourse you may not face any errors if you add a field to a table as long as you add it right. :) :confused:

My Intent was to open MySQL and add the field from MySQL...outside of vBulletin

WhaLberg
10-01-2007, 12:47 AM
Feel free, there are several ways to add a field to a table.

Kirk Y
10-01-2007, 01:05 AM
Add a prefix to prevent any possible conflicts with future versions.

mistyPotato
10-01-2007, 01:29 AM
Ok.

Thanks! :up:

I guess my main concern was that the Maintenance routines might do a checksum or integrity check on the table and find a larger checksum value or too many fields etc etc.

Or

It might affect future updates.

Both your answers suggest it will not cause any problem (as long as I don't chose a field name that vBulletin later uses).