Difference between revisions of "Database Table: support"
From Dreamwidth Notes
Exor674Bot (Talk | contribs) m (Robot: This table needs a description.) |
Exor674Bot (Talk | contribs) (Robot: Updating: Format, needs desc, definition) |
||
Line 1: | Line 1: | ||
− | {{Database Table|name=support|table type=global}} | + | {{Database Table|name=support|table type=global|need desc=1}} |
− | + | ||
= Definition = | = Definition = | ||
− | |||
<source lang="sql"> | <source lang="sql"> | ||
CREATE TABLE support ( | CREATE TABLE support ( | ||
− | + | spid int(10) unsigned NOT NULL auto_increment, | |
− | + | reqtype enum('user','email') default NULL, | |
− | + | requserid int(10) unsigned NOT NULL default '0', | |
− | + | reqname varchar(50) default NULL, | |
− | + | reqemail varchar(70) default NULL, | |
− | + | state enum('open','closed') default NULL, | |
− | + | authcode varchar(15) NOT NULL default '', | |
− | + | spcatid int(10) unsigned NOT NULL default '0', | |
− | + | subject varchar(80) default NULL, | |
− | + | timecreate int(10) unsigned default NULL, | |
− | + | timetouched int(10) unsigned default NULL, | |
− | + | timeclosed int(10) unsigned default NULL, | |
− | + | ||
− | + | PRIMARY KEY (spid), | |
− | + | INDEX (state), | |
− | + | INDEX (requserid), | |
+ | INDEX (reqemail) | ||
) | ) | ||
</source> | </source> | ||
− | |||
{{Database Table Footer}} | {{Database Table Footer}} |
Revision as of 07:02, 28 January 2010
"{{{repo}}}" is not in the list of possible values (dw-free, dw-nonfree) for this property. This is a global table.
Definition
CREATE TABLE support ( spid INT(10) UNSIGNED NOT NULL AUTO_INCREMENT, reqtype enum('user','email') DEFAULT NULL, requserid INT(10) UNSIGNED NOT NULL DEFAULT '0', reqname VARCHAR(50) DEFAULT NULL, reqemail VARCHAR(70) DEFAULT NULL, state enum('open','closed') DEFAULT NULL, authcode VARCHAR(15) NOT NULL DEFAULT '', spcatid INT(10) UNSIGNED NOT NULL DEFAULT '0', subject VARCHAR(80) DEFAULT NULL, timecreate INT(10) UNSIGNED DEFAULT NULL, timetouched INT(10) UNSIGNED DEFAULT NULL, timeclosed INT(10) UNSIGNED DEFAULT NULL, PRIMARY KEY (spid), INDEX (state), INDEX (requserid), INDEX (reqemail) )