Difference between revisions of "Database Table: support"

From Dreamwidth Notes
Jump to: navigation, search
(Created page with 'support =Definition= <source lang="sql"> CREATE TABLE support ( spid int(10) unsigned NOT NULL auto_increment, reqtype enum('user','email') defau...')
 
Line 1: Line 1:
[[Category: Database Table|support]]
+
= Definition =
=Definition=
+
 
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE support (
 
CREATE TABLE support (
Line 22: Line 22:
 
</source>
 
</source>
  
=Relationships=
+
= Relationships =
 +
 
 +
= Location =
  
=Location=
 
 
[[Global database]]
 
[[Global database]]
 +
 +
[[Category: Database Tables|support]]

Revision as of 11:22, 2 April 2009

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)
)

Relationships

Location

Global database