Difference between revisions of "Database Table: shop carts"

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

Latest revision as of 16:03, 22 July 2010

This is a global table.

Definition

CREATE TABLE shop_carts (
    cartid INT UNSIGNED NOT NULL,
    starttime INT UNSIGNED NOT NULL,
    userid INT UNSIGNED,
    email VARCHAR(255),
    uniq VARCHAR(15) NOT NULL,
    state INT UNSIGNED NOT NULL,
    paymentmethod INT UNSIGNED NOT NULL,
    nextscan INT UNSIGNED NOT NULL DEFAULT 0,
    authcode VARCHAR(20) NOT NULL,
 
    cartblob MEDIUMBLOB NOT NULL,
 
    PRIMARY KEY (cartid),
    INDEX (userid),
    INDEX (uniq)
)

Relationships