Difference between revisions of "Database Table: captchas"

From Dreamwidth Notes
Jump to: navigation, search
(Created page with 'captchas =Definition= <source lang="sql"> CREATE TABLE captchas ( capid INT UNSIGNED NOT NULL auto_increment, type enum('image',...')
 
(Robot: Updating: Format)
 
(14 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Category: Database Table|captchas]]
+
{{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 9: 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 14: Line 15:
 
)
 
)
 
</source>
 
</source>
 
+
{{Database Table Footer|removed=1}}
=Relationships=
+
 
+
=Location=
+
[[Global database]]
+

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)
)