Difference between revisions of "Database Table: dw payments"
From Dreamwidth Notes
(Created page with 'dw_payments =Definition= <source lang="sql"> CREATE TABLE dw_payments ( paymentid int unsigned NOT NULL auto_increment, paydate int unsigned ...') |
Dreamnestia (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | + | = Definition = | |
− | =Definition= | + | |
<source lang="sql"> | <source lang="sql"> | ||
CREATE TABLE dw_payments ( | CREATE TABLE dw_payments ( | ||
Line 22: | Line 22: | ||
</source> | </source> | ||
− | =Relationships= | + | = Relationships = |
+ | |||
+ | = Location = | ||
− | |||
[[Global database]] | [[Global database]] | ||
+ | |||
+ | [[Category: Database Tables|dw_payments]] |
Revision as of 15:39, 31 March 2009
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) )