Difference between revisions of "Database Table: domains"

From Dreamwidth Notes
Jump to: navigation, search
(Created page with 'domains =Definition= <source lang="sql"> CREATE TABLE domains ( domain VARCHAR(80) NOT NULL, PRIMARY KEY (domain), userid INT UNSIGNED NOT...')
 
(Robot: Updating: Format)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category: Database Table|domains]]
+
{{Database Table|name=domains|table type=global|need desc=1|repo=dw-free}}
=Definition=
+
= Definition =
 
<source lang="sql">
 
<source lang="sql">
CREATE TABLE domains
+
CREATE TABLE domains (
(
+
    domain  VARCHAR(80) NOT NULL,
  domain  VARCHAR(80) NOT NULL,
+
    PRIMARY KEY (domain),
  PRIMARY KEY (domain),
+
    userid  INT UNSIGNED NOT NULL,
  userid  INT UNSIGNED NOT NULL,
+
 
  INDEX (userid)
+
    INDEX (userid)
 
)
 
)
 
</source>
 
</source>
 
+
{{Database Table Footer}}
=Relationships=
+
 
+
=Location=
+
[[Global database]]
+

Latest revision as of 15:57, 22 July 2010

This is a global table.

Definition

CREATE TABLE domains (
    DOMAIN  VARCHAR(80) NOT NULL,
    PRIMARY KEY (DOMAIN),
    userid  INT UNSIGNED NOT NULL,
 
    INDEX (userid)
)

Relationships