Difference between revisions of "Database Table: captchas"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: This table needs a description.)
(Robot: Updating: Format)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Database Table|name=captchas|table type=global}}
+
{{Database Table|name=captchas|table type=global|repo=dw-free|removed=1|removed in=2abdaecdcfe8}}
[[Category:Database Tables Needing Description]]
+
 
= Definition =
 
= Definition =
 
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE captchas (
 
CREATE TABLE captchas (
Line 11: Line 9:
 
     userid      INT UNSIGNED NOT NULL DEFAULT 0,
 
     userid      INT UNSIGNED NOT NULL DEFAULT 0,
 
     anum        SMALLINT UNSIGNED NOT NULL,
 
     anum        SMALLINT UNSIGNED NOT NULL,
 +
 
     INDEX(type,issuetime),
 
     INDEX(type,issuetime),
 
     INDEX(userid),
 
     INDEX(userid),
Line 16: Line 15:
 
)
 
)
 
</source>
 
</source>
{{Database Table Footer}}
+
{{Database Table Footer|removed=1}}

Latest revision as of 16:17, 22 July 2010

Note: This table is removed and no longer used. This table was removed in dw-free changeset 2abdaecdcfe8 [1]
This is a global table.

Definition

CREATE TABLE captchas (
    capid       INT UNSIGNED NOT NULL AUTO_INCREMENT,
    TYPE        enum('image','audio'),
    issuetime   INT UNSIGNED NOT NULL DEFAULT 0,
    answer      CHAR(10),
    userid      INT UNSIGNED NOT NULL DEFAULT 0,
    anum        SMALLINT UNSIGNED NOT NULL,
 
    INDEX(TYPE,issuetime),
    INDEX(userid),
    PRIMARY KEY(capid)
)