Difference between revisions of "Database Table: logproplist"

From Dreamwidth Notes
Jump to: navigation, search
m
m (Robot: Updating: Format)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#set:name=logproplist|table type=global}}
+
{{Database Table|name=logproplist|table type=global|need desc=1|repo=dw-free}}
 +
You can see the props that get populated into this table at [[Proplists/logprop]].
 
= Definition =
 
= Definition =
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE logproplist (
 
CREATE TABLE logproplist (
  propid tinyint(3) unsigned NOT NULL auto_increment,
+
    propid tinyint(3) unsigned NOT NULL auto_increment,
  name varchar(50) default NULL,
+
    name varchar(50) default NULL,
  prettyname varchar(60) default NULL,
+
    prettyname varchar(60) default NULL,
  sortorder mediumint(8) unsigned default NULL,
+
    sortorder mediumint(8) unsigned default NULL,
  datatype enum('char','num','bool') NOT NULL default 'char',
+
    datatype enum('char','num','bool') NOT NULL default 'char',
  scope enum('general', 'local') NOT NULL default 'general',
+
    scope enum('general', 'local') NOT NULL default 'general',
  ownership ENUM('system', 'user') NOT NULL default 'user',
+
    ownership ENUM('system', 'user') NOT NULL default 'user',
  des varchar(255) default NULL,
+
    des varchar(255) default NULL,
  PRIMARY KEY  (propid),
+
 
  UNIQUE KEY name (name)
+
    PRIMARY KEY  (propid),
 +
    UNIQUE KEY name (name)
 
)
 
)
 
</source>
 
</source>
 
{{Database Table Footer}}
 
{{Database Table Footer}}

Latest revision as of 06:03, 18 December 2011

This is a global table. You can see the props that get populated into this table at Proplists/logprop.

Definition

CREATE TABLE logproplist (
    propid tinyint(3) UNSIGNED NOT NULL AUTO_INCREMENT,
    name VARCHAR(50) DEFAULT NULL,
    prettyname VARCHAR(60) DEFAULT NULL,
    sortorder mediumint(8) UNSIGNED DEFAULT NULL,
    datatype enum('char','num','bool') NOT NULL DEFAULT 'char',
    scope enum('general', 'local') NOT NULL DEFAULT 'general',
    ownership ENUM('system', 'user') NOT NULL DEFAULT 'user',
    des VARCHAR(255) DEFAULT NULL,
 
    PRIMARY KEY  (propid),
    UNIQUE KEY name (name)
)

Relationships