Difference between revisions of "Database Table: userproplite2"

From Dreamwidth Notes
Jump to: navigation, search
(Created page with '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 userproplit...')
 
Line 1: Line 1:
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.
+
This table is used to store multihomed userprops on the clustered database. It represents the same dataset as <tt>[[Database Table: userprop|userprop]]</tt>, but blank values are saved as empty strings in <tt>[[Database Table: userproplite2|userproplite2]]</tt>, and discarded from <tt>[[Database Table: userprop|userprop]]</tt>.
 +
 
 +
= Definition =
  
=Definition=
 
 
<source lang="sql">
 
<source lang="sql">
 
userid int(10) unsigned NOT NULL default '0',
 
userid int(10) unsigned NOT NULL default '0',
Line 10: Line 11:
 
</source>
 
</source>
  
 +
= Relationships =
  
=Relationships=
+
* Foreign key <tt>upropid</tt> to <tt>[[Database Table: userproplist|userproplist]].upropid</tt>
*Foreign key upropid to userproplist.upropid
+
* Foreign key <tt>userid</tt> to <tt>[[Database Table: user|user]].userid</tt>
*Foreign key userid to user.userid
+
 
 +
= Location =
  
=Location=
 
 
Clustered db
 
Clustered db
 +
 +
[[Category: Database Tables]]

Revision as of 03:50, 20 March 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

Location

Clustered db