Database Table: shop_codes

From Dreamwidth Notes
Jump to: navigation, search

This is a global table.

Definition

CREATE TABLE shop_codes (
    acid INT UNSIGNED NOT NULL,
    cartid INT UNSIGNED NOT NULL,
    itemid INT UNSIGNED NOT NULL,
 
    PRIMARY KEY (acid),
    UNIQUE (cartid, itemid)
)

Relationships