Difference between revisions of "Database Table: usersearch packdata"

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=usersearch_packdata|clustered=false}}
+
{{Database Table|name=usersearch_packdata|table type=global|need desc=1|repo=dw-free}}
 
= Definition =
 
= Definition =
 
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE usersearch_packdata (
 
CREATE TABLE usersearch_packdata (
  userid      INT UNSIGNED NOT NULL PRIMARY KEY,
+
    userid      INT UNSIGNED NOT NULL PRIMARY KEY,
  packed      CHAR(8) BINARY,
+
    packed      CHAR(8) BINARY,
  mtime      INT UNSIGNED NOT NULL,
+
    mtime      INT UNSIGNED NOT NULL,
  good_until  INT UNSIGNED,
+
    good_until  INT UNSIGNED,
  INDEX (mtime),
+
 
  INDEX (good_until)
+
    INDEX (mtime),
 +
    INDEX (good_until)
 
)
 
)
 
</source>
 
</source>
 
 
{{Database Table Footer}}
 
{{Database Table Footer}}

Latest revision as of 16:00, 22 July 2010

This is a global table.

Definition

CREATE TABLE usersearch_packdata (
    userid      INT UNSIGNED NOT NULL PRIMARY KEY,
    packed      CHAR(8) BINARY,
    mtime       INT UNSIGNED NOT NULL,
    good_until  INT UNSIGNED,
 
    INDEX (mtime),
    INDEX (good_until)
)

Relationships