Difference between revisions of "Database Table: ml domains"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: Converting database table to use semantic mediawiki form.)
(Robot: Updating: Format)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#set:name=ml_domains|clustered=false}}
+
{{Database Table|name=ml_domains|table type=global|need desc=1|repo=dw-free}}
 
= Definition =
 
= Definition =
 +
<source lang="sql">
 +
CREATE TABLE ml_domains (
 +
    dmid TINYINT UNSIGNED NOT NULL,
 +
    PRIMARY KEY (dmid),
 +
    type VARCHAR(30) NOT NULL,
 +
    args VARCHAR(255) NOT NULL DEFAULT '',
  
<source lang="sql">
+
    UNIQUE (type,args)
CREATE TABLE ml_domains
+
(
+
  dmid TINYINT UNSIGNED NOT NULL,
+
  PRIMARY KEY (dmid),
+
  type VARCHAR(30) NOT NULL,
+
  args VARCHAR(255) NOT NULL DEFAULT '',
+
  UNIQUE (type,args)
+
 
)
 
)
 
</source>
 
</source>
 
 
{{Database Table Footer}}
 
{{Database Table Footer}}

Latest revision as of 15:59, 22 July 2010

This is a global table.

Definition

CREATE TABLE ml_domains (
    dmid TINYINT UNSIGNED NOT NULL,
    PRIMARY KEY (dmid),
    TYPE VARCHAR(30) NOT NULL,
    args VARCHAR(255) NOT NULL DEFAULT '',
 
    UNIQUE (TYPE,args)
)

Relationships