Difference between revisions of "Database Table: userproplite"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: Converting database table to use semantic mediawiki form.)
(Robot: Updating: Format)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#set:name=userproplite|table type=global}}
+
{{Database Table|name=userproplite|table type=global|repo=dw-free}}
[[description::Associates users to properties at the global level.]] See also [[Database Table: userproplite2|userproplite2]]  
+
[[description::Associates users to properties at the global level.]] See also [[Database Table: userproplite2|userproplite2]]
 
= Definition =
 
= Definition =
 
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE userproplite (
 
CREATE TABLE userproplite (
  userid int(10) unsigned NOT NULL default '0',
+
    userid int(10) unsigned NOT NULL default '0',
  upropid smallint(5) unsigned NOT NULL default '0',
+
    upropid smallint(5) unsigned NOT NULL default '0',
  value varchar(255) default NULL,
+
    value varchar(255) default NULL,
  PRIMARY KEY  (userid,upropid),
+
 
  KEY (upropid)
+
    PRIMARY KEY  (userid,upropid),
 +
    KEY (upropid)
 
)
 
)
 
</source>
 
</source>
 
 
{{Database Table Footer}}
 
{{Database Table Footer}}

Latest revision as of 16:00, 22 July 2010

This is a global table. Associates users to properties at the global level. See also userproplite2

Definition

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