Difference between revisions of "Database Table: userpic2"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: Converting database table to use semantic mediawiki form.)
m (Robot: Converting database table to use semantic mediawiki form.)
Line 1: Line 1:
{{#set:name=userpic2|clustered=true}}
+
{{#set:name=userpic2|table type=clustered}}
 
= Definition =
 
= Definition =
  

Revision as of 18:47, 2 October 2009

Definition

CREATE TABLE userpic2 (
  picid INT(10) UNSIGNED NOT NULL,
  userid INT(10) UNSIGNED NOT NULL DEFAULT '0',
  fmt CHAR(1) DEFAULT NULL,
  width SMALLINT(6) NOT NULL DEFAULT '0',
  height SMALLINT(6) NOT NULL DEFAULT '0',
  state CHAR(1) NOT NULL DEFAULT 'N',
  picdate datetime DEFAULT NULL,
  md5base64 CHAR(22) NOT NULL DEFAULT '',
  comment VARCHAR(255) BINARY NOT NULL DEFAULT '',
  flags tinyint(1) UNSIGNED NOT NULL DEFAULT 0,
  location enum('blob','disk','mogile') DEFAULT NULL,
  PRIMARY KEY  (userid, picid)
)

Relationships