Difference between revisions of "Database Table: userproplist"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: Converting database table to use semantic mediawiki form.)
m (Robot: Updating: Format)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#set:name=userproplist|table type=global}}
+
{{Database Table|name=userproplist|table type=global|need desc=1|repo=dw-free}}
 +
You can see the props that get populated into this table at [[Proplists/userprop]].
 
= Definition =
 
= Definition =
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE userproplist (
 
CREATE TABLE userproplist (
  upropid smallint(5) unsigned NOT NULL auto_increment,
+
    upropid smallint(5) unsigned NOT NULL auto_increment,
  name varchar(50) default NULL,
+
    name varchar(50) default NULL,
  indexed enum('1','0') NOT NULL default '1',
+
    indexed enum('1','0') NOT NULL default '1',
  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,
+
    des varchar(255) default NULL,
  PRIMARY KEY  (upropid),
+
 
  UNIQUE KEY name (name)
+
    PRIMARY KEY  (upropid),
 +
    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/userprop.

Definition

CREATE TABLE userproplist (
    upropid SMALLINT(5) UNSIGNED NOT NULL AUTO_INCREMENT,
    name VARCHAR(50) DEFAULT NULL,
    indexed enum('1','0') NOT NULL DEFAULT '1',
    prettyname VARCHAR(60) DEFAULT NULL,
    datatype enum('char','num','bool') NOT NULL DEFAULT 'char',
    des VARCHAR(255) DEFAULT NULL,
 
    PRIMARY KEY  (upropid),
    UNIQUE KEY name (name)
)

Relationships

Incoming