Difference between revisions of "Database Table: jabroster"

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=jabroster|table type=clustered}}
+
{{Database Table|name=jabroster|table type=clustered|need desc=1|repo=dw-free}}
 
= Definition =
 
= Definition =
 
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE jabroster (
 
CREATE TABLE jabroster (
  userid    INT UNSIGNED NOT NULL,
+
    userid    INT UNSIGNED NOT NULL,
  contactid  INT UNSIGNED NOT NULL,
+
    contactid  INT UNSIGNED NOT NULL,
  PRIMARY KEY (userid, contactid),
+
    PRIMARY KEY (userid, contactid),
  name      VARCHAR(255) BINARY,
+
    name      VARCHAR(255) BINARY,
  substate  TINYINT UNSIGNED NOT NULL,
+
    substate  TINYINT UNSIGNED NOT NULL,
  groups    VARCHAR(255) BINARY,
+
    groups    VARCHAR(255) BINARY,
  ljflags    TINYINT UNSIGNED NOT NULL
+
    ljflags    TINYINT UNSIGNED NOT NULL
 
)
 
)
 
</source>
 
</source>
 
 
{{Database Table Footer}}
 
{{Database Table Footer}}

Latest revision as of 15:58, 22 July 2010

This is a clustered table.

Definition

CREATE TABLE jabroster (
    userid     INT UNSIGNED NOT NULL,
    contactid  INT UNSIGNED NOT NULL,
    PRIMARY KEY (userid, contactid),
    name       VARCHAR(255) BINARY,
    substate   TINYINT UNSIGNED NOT NULL,
    groups     VARCHAR(255) BINARY,
    ljflags    TINYINT UNSIGNED NOT NULL
)

Relationships