Advertisement
Guest User

db

a guest
Aug 28th, 2016
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. CREATE TABLE `crypto_payments` (
  2. `paymentID` int(11) unsigned NOT NULL AUTO_INCREMENT,
  3. `boxID` int(11) unsigned NOT NULL DEFAULT '0',
  4. `boxType` enum('paymentbox','captchabox') NOT NULL,
  5. `orderID` varchar(50) NOT NULL DEFAULT '',
  6. `userID` varchar(50) NOT NULL DEFAULT '',
  7. `countryID` varchar(3) NOT NULL DEFAULT '',
  8. `coinLabel` varchar(6) NOT NULL DEFAULT '',
  9. `amount` double(20,8) NOT NULL DEFAULT '0.00000000',
  10. `amountUSD` double(20,8) NOT NULL DEFAULT '0.00000000',
  11. `unrecognised` tinyint(1) unsigned NOT NULL DEFAULT '0',
  12. `addr` varchar(34) NOT NULL DEFAULT '',
  13. `txID` char(64) NOT NULL DEFAULT '',
  14. `txDate` datetime DEFAULT NULL,
  15. `txConfirmed` tinyint(1) unsigned NOT NULL DEFAULT '0',
  16. `txCheckDate` datetime DEFAULT NULL,
  17. `processed` tinyint(1) unsigned NOT NULL DEFAULT '0',
  18. `processedDate` datetime DEFAULT NULL,
  19. `recordCreated` datetime DEFAULT NULL,
  20. PRIMARY KEY (`paymentID`),
  21. KEY `boxID` (`boxID`),
  22. KEY `boxType` (`boxType`),
  23. KEY `userID` (`userID`),
  24. KEY `countryID` (`countryID`),
  25. KEY `orderID` (`orderID`),
  26. KEY `amount` (`amount`),
  27. KEY `amountUSD` (`amountUSD`),
  28. KEY `coinLabel` (`coinLabel`),
  29. KEY `unrecognised` (`unrecognised`),
  30. KEY `addr` (`addr`),
  31. KEY `txID` (`txID`),
  32. KEY `txDate` (`txDate`),
  33. KEY `txConfirmed` (`txConfirmed`),
  34. KEY `txCheckDate` (`txCheckDate`),
  35. KEY `processed` (`processed`),
  36. KEY `processedDate` (`processedDate`),
  37. KEY `recordCreated` (`recordCreated`),
  38. KEY `key1` (`boxID`,`orderID`),
  39. KEY `key2` (`boxID`,`orderID`,`userID`),
  40. KEY `key3` (`boxID`,`orderID`,`userID`,`txID`)
  41. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement