Difference between revisions of "Database Table: userproplist"
From Dreamwidth Notes
Dreamnestia (Talk | contribs) |
Exor674Bot (Talk | contribs) m (Robot: Updating: Format) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{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, | |
− | + | 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) | ||
) | ) | ||
</source> | </source> | ||
− | + | {{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
- Foreign key: upropid from userproplite2.upropid