Difference between revisions of "Database Table: priv list"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: This table needs a description.)
(Robot: Updating: Format, needs desc, definition)
Line 1: Line 1:
{{Database Table|name=priv_list|table type=global}}
+
{{Database Table|name=priv_list|table type=global|need desc=1}}
[[Category:Database Tables Needing Description]]
+
 
= Definition =
 
= Definition =
 
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE priv_list (
 
CREATE TABLE priv_list (
  prlid smallint(5) unsigned NOT NULL auto_increment,
+
    prlid smallint(5) unsigned NOT NULL auto_increment,
  privcode varchar(20) NOT NULL default '',
+
    privcode varchar(20) NOT NULL default '',
  privname varchar(40) default NULL,
+
    privname varchar(40) default NULL,
  des varchar(255) default NULL,
+
    des varchar(255) default NULL,
  is_public ENUM('1', '0') DEFAULT '1' NOT NULL,
+
    is_public ENUM('1', '0') DEFAULT '1' NOT NULL,
  PRIMARY KEY  (prlid),
+
 
  UNIQUE KEY privcode (privcode)
+
    PRIMARY KEY  (prlid),
 +
    UNIQUE KEY privcode (privcode)
 
)
 
)
 
</source>
 
</source>
 
 
{{Database Table Footer}}
 
{{Database Table Footer}}

Revision as of 07:05, 28 January 2010

"{{{repo}}}" is not in the list of possible values (dw-free, dw-nonfree) for this property. This is a global table.

Definition

CREATE TABLE priv_list (
    prlid SMALLINT(5) UNSIGNED NOT NULL AUTO_INCREMENT,
    privcode VARCHAR(20) NOT NULL DEFAULT '',
    privname VARCHAR(40) DEFAULT NULL,
    des VARCHAR(255) DEFAULT NULL,
    is_public ENUM('1', '0') DEFAULT '1' NOT NULL,
 
    PRIMARY KEY  (prlid),
    UNIQUE KEY privcode (privcode)
)

Relationships