Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-05-2005, 09:40 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default columns not default?

[sql]DELETE mood, reason, drate, off, time, today, comments, gender, gender, msn, award, storeep, italic, glow, fcolour
FROM users[/sql]
weird question, but wondering if anyone with a clean install could confirm that all these colums in the user table are not default.
Reply With Quote
  #2  
Old 01-05-2005, 09:43 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you just have to take a look into install/mysql-schema.php and you'll find the default tables columns:

[sql]CREATE TABLE " . TABLE_PREFIX . "user (
userid INT UNSIGNED NOT NULL AUTO_INCREMENT,
usergroupid SMALLINT UNSIGNED NOT NULL DEFAULT '0',
membergroupids CHAR(250) NOT NULL DEFAULT '',
displaygroupid SMALLINT UNSIGNED NOT NULL DEFAULT '0',
username CHAR(50) NOT NULL DEFAULT '',
password CHAR(32) NOT NULL DEFAULT '',
passworddate date NOT NULL DEFAULT '0000-00-00',
email CHAR(100) NOT NULL DEFAULT '',
styleid SMALLINT UNSIGNED NOT NULL DEFAULT '0',
parentemail CHAR(50) NOT NULL DEFAULT '',
homepage CHAR(100) NOT NULL DEFAULT '',
icq CHAR(20) NOT NULL DEFAULT '',
aim CHAR(20) NOT NULL DEFAULT '',
yahoo CHAR(32) NOT NULL DEFAULT '',
showvbcode SMALLINT UNSIGNED NOT NULL DEFAULT '0',
usertitle CHAR(250) NOT NULL DEFAULT '',
customtitle SMALLINT NOT NULL DEFAULT '0',
joindate INT UNSIGNED NOT NULL DEFAULT '0',
daysprune SMALLINT NOT NULL DEFAULT '0',
lastvisit INT UNSIGNED NOT NULL DEFAULT '0',
lastactivity INT UNSIGNED NOT NULL DEFAULT '0',
lastpost INT UNSIGNED NOT NULL DEFAULT '0',
posts INT UNSIGNED NOT NULL DEFAULT '0',
reputation INT NOT NULL DEFAULT '10',
reputationlevelid INT UNSIGNED NOT NULL DEFAULT '1',
timezoneoffset CHAR(4) NOT NULL DEFAULT '',
pmpopup SMALLINT NOT NULL DEFAULT '0',
avatarid SMALLINT NOT NULL DEFAULT '0',
avatarrevision INT UNSIGNED NOT NULL DEFAULT '0',
options INT UNSIGNED NOT NULL DEFAULT '15',
birthday CHAR(10) NOT NULL DEFAULT '',
birthday_search DATE NOT NULL,
maxposts SMALLINT NOT NULL DEFAULT '-1',
startofweek SMALLINT NOT NULL DEFAULT '1',
ipaddress CHAR(15) NOT NULL DEFAULT '',
referrerid INT UNSIGNED NOT NULL DEFAULT '0',
languageid SMALLINT UNSIGNED NOT NULL DEFAULT '0',
msn CHAR(100) NOT NULL DEFAULT '',
emailstamp INT UNSIGNED NOT NULL DEFAULT '0',
threadedmode SMALLINT UNSIGNED NOT NULL DEFAULT '0',
autosubscribe SMALLINT NOT NULL DEFAULT '-1',
pmtotal SMALLINT UNSIGNED NOT NULL DEFAULT '0',
pmunread SMALLINT UNSIGNED NOT NULL DEFAULT '0',
salt CHAR(3) NOT NULL DEFAULT '',
PRIMARY KEY (userid),
KEY usergroupid (usergroupid),
KEY username (username),
KEY birthday (birthday),
KEY birthday_search (birthday_search)
)
[/sql]
Reply With Quote
  #3  
Old 01-05-2005, 09:45 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks stefan, will do that next time
Reply With Quote
  #4  
Old 01-05-2005, 09:47 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default



youre welcome
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:55 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06255 seconds
  • Memory Usage 2,187KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete