Difference between revisions of "Database Table: priv list"

From Dreamwidth Notes
Jump to: navigation, search
(Created page with 'priv_list =Definition= <source lang="sql"> CREATE TABLE priv_list ( prlid smallint(5) unsigned NOT NULL auto_increment, privcode varchar(20) NOT ...')
 
(Robot: Updating: Format)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category: Database Table|priv_list]]
+
{{Database Table|name=priv_list|table type=global|need desc=1|repo=dw-free}}
=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}}
=Relationships=
+
 
+
=Location=
+
[[Global database]]
+

Latest revision as of 15:58, 22 July 2010

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