Database Table: trust_groups

From Dreamwidth Notes
Jump to: navigation, search

This is a clustered table.

Definition

CREATE TABLE trust_groups (
    userid      INT(10) UNSIGNED NOT NULL DEFAULT '0',
    groupnum    TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
    groupname   VARCHAR(90) NOT NULL DEFAULT '',
    sortorder   TINYINT(3) UNSIGNED NOT NULL DEFAULT '50',
    is_public   ENUM('0','1') NOT NULL DEFAULT '0',
 
    PRIMARY KEY (userid, groupnum)
)

Relationships