Difference between revisions of "Database Table: userpic"

From Dreamwidth Notes
Jump to: navigation, search
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Global database; deprecated in favor of [[Database Table: userpic2|userpic2]] (clustered).
+
{{Database Table|name=userpic|table type=global|repo=dw-free|removed=1|removed in=dfc1947a7c78}}
 
+
Deprecated in favor of [[Database Table: userpic2|userpic2]] (clustered).
[[Category: Obsolete Database Tables|userpic]]
+
= Definition =
=Definition=
+
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE userpic (
 
CREATE TABLE userpic (
Line 18: Line 17:
 
)
 
)
 
</source>
 
</source>
 
+
{{Database Table Footer|removed=1}}
=Relationships=
+
 
+
=Location=
+
[[Global database]]
+

Latest revision as of 16:31, 22 July 2010

Note: This table is removed and no longer used. This table was removed in dw-free changeset dfc1947a7c78 [1]
This is a global table. Deprecated in favor of userpic2 (clustered).

Definition

CREATE TABLE userpic (
  picid INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  userid INT(10) UNSIGNED NOT NULL DEFAULT '0',
  contenttype CHAR(25) 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 '',
  PRIMARY KEY  (picid),
  KEY (userid),
  KEY (state)
)