Difference between revisions of "Database Table: supportcat"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: Converting database table to use database table header template.)
(Robot: Updating: Format)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Database Table|name=supportcat|table type=global}}
+
{{Database Table|name=supportcat|table type=global|need desc=1|repo=dw-free}}
 
= Definition =
 
= Definition =
 
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE supportcat (
 
CREATE TABLE supportcat (
  spcatid int(10) unsigned NOT NULL auto_increment,
+
    spcatid int(10) unsigned NOT NULL auto_increment,
  catname varchar(80) default NULL,
+
    catname varchar(80) default NULL,
  sortorder mediumint(8) unsigned NOT NULL default '0',
+
    sortorder mediumint(8) unsigned NOT NULL default '0',
  basepoints tinyint(3) unsigned NOT NULL default '1',
+
    basepoints tinyint(3) unsigned NOT NULL default '1',
  PRIMARY KEY  (spcatid)
+
 
 +
    PRIMARY KEY  (spcatid)
 
)
 
)
 
</source>
 
</source>
 
 
{{Database Table Footer}}
 
{{Database Table Footer}}

Latest revision as of 15:58, 22 July 2010

This is a global table.

Definition

CREATE TABLE supportcat (
    spcatid INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
    catname VARCHAR(80) DEFAULT NULL,
    sortorder mediumint(8) UNSIGNED NOT NULL DEFAULT '0',
    basepoints tinyint(3) UNSIGNED NOT NULL DEFAULT '1',
 
    PRIMARY KEY  (spcatid)
)

Relationships