Difference between revisions of "Database Table: trust groups"

From Dreamwidth Notes
Jump to: navigation, search
(Created page with '{{Database Table|name=trust_groups|table type=global}} Category:Database Tables Needing Description = Definition = <source lang="sql"> CREATE TABLE trust_groups ( userid …')
 
Line 1: Line 1:
{{Database Table|name=trust_groups|table type=global}}
+
{{Database Table|name=trust_groups|table type=clustered}}
 
[[Category:Database Tables Needing Description]]
 
[[Category:Database Tables Needing Description]]
 
= Definition =
 
= Definition =

Revision as of 12:49, 27 January 2010

"{{{repo}}}" is not in the list of possible values (dw-free, dw-nonfree) for this property. 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