Difference between revisions of "Database Table: supportlog"

From Dreamwidth Notes
Jump to: navigation, search
(Created page with 'supportlog =Definition= <source lang="sql"> CREATE TABLE supportlog ( splid int(10) unsigned NOT NULL auto_increment, spid int(10) unsigned NOT N...')
 
(Robot: Updating: Format)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category: Database Table|supportlog]]
+
{{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}}
=Relationships=
+
 
+
=Location=
+
[[Global database]]
+

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