1
0

shop.sql 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. Navicat MySQL Data Transfer
  3. Source Server : localhost
  4. Source Server Version : 50528
  5. Source Host : localhost:3306
  6. Source Database : test
  7. Target Server Type : MYSQL
  8. Target Server Version : 50528
  9. File Encoding : 65001
  10. Date: 2013-06-02 17:57:16
  11. */
  12. SET FOREIGN_KEY_CHECKS=0;
  13. -- ----------------------------
  14. -- Table structure for `shop`
  15. -- ----------------------------
  16. DROP TABLE IF EXISTS `shop`;
  17. CREATE TABLE `shop` (
  18. `order_product_id` int(11) NOT NULL,
  19. `order_id` int(11) NOT NULL DEFAULT '0',
  20. `product_id` int(11) NOT NULL DEFAULT '0',
  21. `status` tinyint(2) NOT NULL DEFAULT '0',
  22. `name` varchar(64) NOT NULL DEFAULT '',
  23. `price` decimal(15,4) NOT NULL DEFAULT '0.0000',
  24. `quantity` int(4) NOT NULL DEFAULT '0',
  25. `delivered` tinyint(1) NOT NULL DEFAULT '0',
  26. `updatedate` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  27. `deliveruser` varchar(32) NOT NULL DEFAULT '',
  28. `ip` varchar(32) NOT NULL DEFAULT '',
  29. `email` varchar(256) NOT NULL DEFAULT '',
  30. PRIMARY KEY (`order_product_id`)
  31. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  32. -- ----------------------------
  33. -- Records of shop
  34. -- ----------------------------