Difference between revisions of "Database Table: supportlog"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: Converting database table to use semantic mediawiki form.)
(Robot: Updating: Format)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#set:name=supportlog|clustered=false}}
+
{{Database Table|name=supportlog|table type=global|need desc=1|repo=dw-free}}
 
= Definition =
 
= Definition =
 
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE supportlog (
 
CREATE TABLE supportlog (
  splid int(10) unsigned NOT NULL auto_increment,
+
    splid int(10) unsigned NOT NULL auto_increment,
  spid int(10) unsigned NOT NULL default '0',
+
    spid int(10) unsigned NOT NULL default '0',
  timelogged int(10) unsigned NOT NULL default '0',
+
    timelogged int(10) unsigned NOT NULL default '0',
  type enum('req','custom','faqref') default NULL,
+
    type enum('req','custom','faqref') default NULL,
  faqid mediumint(8) unsigned NOT NULL default '0',
+
    faqid mediumint(8) unsigned NOT NULL default '0',
  userid int(10) unsigned NOT NULL default '0',
+
    userid int(10) unsigned NOT NULL default '0',
  message text,
+
    message text,
  PRIMARY KEY  (splid),
+
 
  KEY (spid)
+
    PRIMARY KEY  (splid),
 +
    KEY (spid)
 
)
 
)
 
</source>
 
</source>
 
 
{{Database Table Footer}}
 
{{Database Table Footer}}

Latest revision as of 16:02, 22 July 2010

This is a global table.

Definition

CREATE TABLE supportlog (
    splid INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
    spid INT(10) UNSIGNED NOT NULL DEFAULT '0',
    timelogged INT(10) UNSIGNED NOT NULL DEFAULT '0',
    TYPE enum('req','custom','faqref') DEFAULT NULL,
    faqid mediumint(8) UNSIGNED NOT NULL DEFAULT '0',
    userid INT(10) UNSIGNED NOT NULL DEFAULT '0',
    message text,
 
    PRIMARY KEY  (splid),
    KEY (spid)
)

Relationships