Difference between revisions of "Database Table: userblob"

From Dreamwidth Notes
Jump to: navigation, search
m
Line 1: Line 1:
Ancient system for storing userpics.  Used if MogileFS is not being run.
+
{{Database Table|name=userblob|table type=global}}
 +
[[description::Ancient system for storing userpics.  Used if MogileFS is not being run.]]
 +
= Definition =
 +
<source lang="sql">
 +
CREATE TABLE userblob (
 +
    journalid  INT      UNSIGNED NOT NULL,
 +
    domain      TINYINT  UNSIGNED NOT NULL,
 +
    blobid      MEDIUMINT UNSIGNED NOT NULL,
 +
    length      MEDIUMINT UNSIGNED,
 +
 
 +
    PRIMARY KEY (journalid, domain, blobid),
 +
    KEY (domain)
 +
)
 +
</source>
 +
{{Database Table Footer}}

Revision as of 12:43, 27 January 2010

"{{{repo}}}" is not in the list of possible values (dw-free, dw-nonfree) for this property. This is a global table. Ancient system for storing userpics. Used if MogileFS is not being run.

Definition

CREATE TABLE userblob (
    journalid   INT       UNSIGNED NOT NULL,
    DOMAIN      TINYINT   UNSIGNED NOT NULL,
    blobid      MEDIUMINT UNSIGNED NOT NULL,
    LENGTH      MEDIUMINT UNSIGNED,
 
    PRIMARY KEY (journalid, DOMAIN, blobid),
    KEY (DOMAIN)
)

Relationships