1 ALTER TABLE prefix_users ADD COLUMN RoleID INT(2) NOT NULL DEFAULT '3';
2 ALTER TABLE prefix_users ADD COLUMN StyleID INT(3) NOT NULL DEFAULT '1';
3 ALTER TABLE prefix_users ADD COLUMN CustomStyle VARCHAR(255) DEFAULT NULL;
4 ALTER TABLE prefix_users ADD COLUMN FirstName VARCHAR(50) NOT NULL DEFAULT '';
5 ALTER TABLE prefix_users ADD COLUMN LastName VARCHAR(50) NOT NULL DEFAULT '';
6 ALTER TABLE prefix_users ADD COLUMN VerificationKey VARCHAR(50) NOT NULL DEFAULT '';
7 ALTER TABLE prefix_users ADD COLUMN EmailVerificationKey VARCHAR(50) DEFAULT NULL;
8 ALTER TABLE prefix_users ADD COLUMN UtilizeEmail ENUM('1','0') NOT NULL DEFAULT '0';
9 ALTER TABLE prefix_users ADD COLUMN ShowName ENUM('1','0') NOT NULL DEFAULT '1';
10 ALTER TABLE prefix_users ADD COLUMN Picture VARCHAR(255) DEFAULT NULL;
11 ALTER TABLE prefix_users ADD COLUMN Attributes TEXT NULL;
12 ALTER TABLE prefix_users ADD COLUMN CountVisit INT(8) NOT NULL DEFAULT '0';
13 ALTER TABLE prefix_users ADD COLUMN CountDiscussions INT(8) NOT NULL DEFAULT '0';
14 ALTER TABLE prefix_users ADD COLUMN CountComments INT(8) NOT NULL DEFAULT '0';
15 ALTER TABLE prefix_users ADD COLUMN DateFirstVisit DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00';
16 ALTER TABLE prefix_users ADD COLUMN DateLastActive DATETIME NOT NULL DEFAULT '2006-06-06 00:00:00';
17 ALTER TABLE prefix_users ADD COLUMN RemoteIP VARCHAR(100) NOT NULL DEFAULT '';
18 ALTER TABLE prefix_users ADD COLUMN LastDiscussionPost DATETIME DEFAULT NULL;
19 ALTER TABLE prefix_users ADD COLUMN DiscussionSpamCheck INT(11) NOT NULL DEFAULT '0';
20 ALTER TABLE prefix_users ADD COLUMN LastCommentPost DATETIME DEFAULT NULL;
21 ALTER TABLE prefix_users ADD COLUMN CommentSpamCheck INT(11) NOT NULL DEFAULT '0';
22 ALTER TABLE prefix_users ADD COLUMN UserBlocksCategories ENUM('1','0') NOT NULL DEFAULT '0';
23 ALTER TABLE prefix_users ADD COLUMN DefaultFormatType VARCHAR(20) DEFAULT NULL;
24 ALTER TABLE prefix_users ADD COLUMN Discovery TEXT;
25 ALTER TABLE prefix_users ADD COLUMN Preferences TEXT;
26 ALTER TABLE prefix_users ADD COLUMN SendNewApplicantNotifications ENUM('1','0') NOT NULL DEFAULT '0';
28 UPDATE prefix_users set RoleID=4 where ident=1;