Difference between revisions of "Database Table: shop carts"

From Dreamwidth Notes
Jump to: navigation, search
(Created page with '{{Database Table|name=shop_carts|table type=global}} Category:Database Tables Needing Description = Definition = <source lang="sql"> CREATE TABLE shop_carts ( cartid INT …')
(No difference)

Revision as of 12:39, 27 January 2010

"{{{repo}}}" is not in the list of possible values (dw-free, dw-nonfree) for this property. 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