Difference between revisions of "Database Table: pp tokens"

From Dreamwidth Notes
Jump to: navigation, search
(Robot: Updating: Format, needs desc)
(Robot: Updating: Format)
 
Line 1: Line 1:
{{Database Table|name=pp_tokens|table type=global|need desc=1}}
+
{{Database Table|name=pp_tokens|table type=global|need desc=1|repo=dw-free}}
 
= Definition =
 
= Definition =
 
<source lang="sql">
 
<source lang="sql">

Latest revision as of 16:02, 22 July 2010

This is a global table.

Definition

CREATE TABLE pp_tokens (
    ppid INT UNSIGNED NOT NULL AUTO_INCREMENT,
    inittime INT UNSIGNED NOT NULL,
    touchtime INT UNSIGNED NOT NULL,
    cartid INT UNSIGNED NOT NULL,
    STATUS VARCHAR(20) NOT NULL,
 
    token VARCHAR(20) NOT NULL,
    email VARCHAR(255),
    firstname VARCHAR(255),
    lastname VARCHAR(255),
    payerid VARCHAR(255),
 
    PRIMARY KEY (ppid),
    UNIQUE (cartid),
    INDEX (token)
)

Relationships