Difference between revisions of "Database Table: talkproplist"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: This table needs a description.)
m (Robot: Updating: Format)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Database Table|name=talkproplist|table type=global}}
+
{{Database Table|name=talkproplist|table type=global|need desc=1|repo=dw-free}}
[[Category:Database Tables Needing Description]]
+
You can see the props that get populated into this table at [[Proplists/talkprop]].
 
= Definition =
 
= Definition =
 
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE talkproplist (
 
CREATE TABLE talkproplist (
  tpropid smallint(5) unsigned NOT NULL auto_increment,
+
    tpropid smallint(5) 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,
  datatype enum('char','num','bool') NOT NULL default 'char',
+
    datatype enum('char','num','bool') NOT NULL default 'char',
  des varchar(255) default NULL,
+
    scope enum('general', 'local') NOT NULL default 'general',
  PRIMARY KEY  (tpropid),
+
    ownership ENUM('system', 'user') NOT NULL default 'user',
  UNIQUE KEY name (name)
+
    des varchar(255) default NULL,
 +
 
 +
    PRIMARY KEY  (tpropid),
 +
    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/talkprop.

Definition

CREATE TABLE talkproplist (
    tpropid SMALLINT(5) UNSIGNED NOT NULL AUTO_INCREMENT,
    name VARCHAR(50) DEFAULT NULL,
    prettyname VARCHAR(60) 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  (tpropid),
    UNIQUE KEY name (name)
)

Relationships