Difference between revisions of "Database Table: ratelist"

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=ratelist|table type=global}}
+
{{Database Table|name=ratelist|table type=global|need desc=1|repo=dw-free}}
 
= Definition =
 
= Definition =
 +
<source lang="sql">
 +
CREATE TABLE ratelist (
 +
    rlid TINYINT UNSIGNED NOT NULL AUTO_INCREMENT,
 +
    name  varchar(50) not null,
 +
    des varchar(255) not null,
  
<source lang="sql">
+
    PRIMARY KEY (rlid),
CREATE TABLE ratelist
+
    UNIQUE KEY (name)
(
+
)
rlid TINYINT UNSIGNED NOT NULL AUTO_INCREMENT,
+
name  varchar(50) not null,
+
des varchar(255) not null,
+
PRIMARY KEY (rlid),
+
UNIQUE KEY (name)
+
)
+
 
</source>
 
</source>
 
 
{{Database Table Footer}}
 
{{Database Table Footer}}

Latest revision as of 16:03, 22 July 2010

This is a global table.

Definition

CREATE TABLE ratelist (
    rlid TINYINT UNSIGNED NOT NULL AUTO_INCREMENT,
    name  VARCHAR(50) NOT NULL,
    des VARCHAR(255) NOT NULL,
 
    PRIMARY KEY (rlid),
    UNIQUE KEY (name)
)

Relationships