Difference between revisions of "Database Table: supportpoints"

From Dreamwidth Notes
Jump to: navigation, search
m
(Robot: Updating: Format)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#set:name=supportpoints|table type=global}}
+
{{Database Table|name=supportpoints|table type=global|need desc=1|repo=dw-free}}
 
= Definition =
 
= Definition =
 
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE supportpoints (
 
CREATE TABLE supportpoints (
  spid int(10) unsigned NOT NULL default '0',
+
    spid int(10) unsigned NOT NULL default '0',
  userid int(10) unsigned NOT NULL default '0',
+
    userid int(10) unsigned NOT NULL default '0',
  points tinyint(3) unsigned default NULL,
+
    points tinyint(3) unsigned default NULL,
  KEY (spid),
+
 
  KEY (userid)
+
    KEY (spid),
 +
    KEY (userid)
 
)
 
)
 
</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 supportpoints (
    spid INT(10) UNSIGNED NOT NULL DEFAULT '0',
    userid INT(10) UNSIGNED NOT NULL DEFAULT '0',
    points tinyint(3) UNSIGNED DEFAULT NULL,
 
    KEY (spid),
    KEY (userid)
)

Relationships