Database Table: dw payments

From Dreamwidth Notes
Revision as of 04:08, 30 January 2010 by Exor674 (Talk | contribs)

Jump to: navigation, search

Note: This table is removed and no longer used.
This is a global table. Designed for DW Payment system but never used. Removed in changeset 446f75a17f85

Definition

CREATE TABLE dw_payments (
    paymentid INT UNSIGNED NOT NULL AUTO_INCREMENT,
    paydate INT UNSIGNED NOT NULL,
    pp_token VARCHAR(20) NOT NULL,
    from_userid INT UNSIGNED,
    target_userid INT UNSIGNED,
    target_username VARCHAR(15),
    typeid SMALLINT UNSIGNED NOT NULL,
    duration SMALLINT UNSIGNED NOT NULL,
    amount SMALLINT UNSIGNED NOT NULL,
    STATUS VARCHAR(20) NOT NULL,
 
    PRIMARY KEY (paymentid),
    INDEX (paydate, pp_token),
    INDEX (from_userid),
    INDEX (target_userid),
    INDEX (STATUS)
)