Difference between revisions of "Database Table: userproplite2"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: Changing Category:Database Tables)
Line 1: Line 1:
This table is used to store multihomed userprops on the clustered database. It represents the same dataset as {{DBTable|userprop}}, but blank values are saved as empty strings in {{DBTable|userproplite2}}, and discarded from {{DBTable|userprop}}.
+
{{#set:name=userproplite2|table type=clustered}}
 
+
[[Description::This table is used to store multihomed userprops on the clustered database.]] It represents the same dataset as {{DBTable|userprop}}, but blank values are saved as empty strings in {{DBTable|userproplite2}}, and discarded from {{DBTable|userprop}}.
 
= Definition =
 
= Definition =
  
Line 10: Line 10:
 
KEY (upropid)
 
KEY (upropid)
 
</source>
 
</source>
 
+
{{Database Table Footer}}
= Relationships =
+
 
+
* Foreign key <tt>upropid</tt> to {{DBField|userproplist|upropid}}
+
* Foreign key <tt>userid</tt> to {{DBField|user|userid}}
+
 
+
= Location =
+
 
+
[[Clustered database]]
+
 
+
[[Category:Database Tables Needing Conversion|userproplite2]]
+

Revision as of 18:49, 5 October 2009

This table is used to store multihomed userprops on the clustered database. It represents the same dataset as userprop, but blank values are saved as empty strings in userproplite2, and discarded from userprop.

Definition

userid INT(10) UNSIGNED NOT NULL DEFAULT '0',
upropid SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
VALUE VARCHAR(255) DEFAULT NULL,
PRIMARY KEY  (userid,upropid),
KEY (upropid)

Relationships

Outgoing

  • Foreign key: upropid to userproplist.upropid
  • Foreign key: userid to user.userid