Difference between revisions of "Database Table: dbinfo"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: Converting database table to use semantic mediawiki form.)
(Robot: Updating: Format)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#set:name=dbinfo|table type=global}}
+
{{Database Table|name=dbinfo|table type=global|need desc=1|repo=dw-free}}
 
= Definition =
 
= Definition =
 
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE dbinfo (
 
CREATE TABLE dbinfo (
  dbid    TINYINT UNSIGNED NOT NULL,
+
    dbid    TINYINT UNSIGNED NOT NULL,
  name    VARCHAR(25),
+
    name    VARCHAR(25),
  fdsn      VARCHAR(255),
+
    fdsn      VARCHAR(255),
  rootfdsn  VARCHAR(255),
+
    rootfdsn  VARCHAR(255),
  masterid  TINYINT UNSIGNED NOT NULL,
+
    masterid  TINYINT UNSIGNED NOT NULL,
  PRIMARY KEY (dbid),
+
 
  UNIQUE (name)
+
    PRIMARY KEY (dbid),
 +
    UNIQUE (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 dbinfo (
    dbid    TINYINT UNSIGNED NOT NULL,
    name    VARCHAR(25),
    fdsn      VARCHAR(255),
    rootfdsn  VARCHAR(255),
    masterid  TINYINT UNSIGNED NOT NULL,
 
    PRIMARY KEY (dbid),
    UNIQUE (name)
)

Relationships