Database Table: userproplite2

From Dreamwidth Notes
Jump to: navigation, search

This is a clustered table. 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

CREATE TABLE userproplite2 (
    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