Difference between revisions of "Database Table: captchas"

From Dreamwidth Notes
Jump to: navigation, search
(Robot: Updating: Format)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#set:name=captchas|table type=global}}
+
{{Database Table|name=captchas|table type=global|repo=dw-free|removed=1|removed in=2abdaecdcfe8}}
 
= Definition =
 
= Definition =
 
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE captchas (
 
CREATE TABLE captchas (
Line 10: 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 15: 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)
)