You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
/*
|
|
|
|
Navicat MySQL Data Transfer
|
|
|
|
|
|
|
|
Source Server : zx
|
|
|
|
Source Server Version : 80018
|
|
|
|
Source Host : localhost:3306
|
|
|
|
Source Database : test02
|
|
|
|
|
|
|
|
Target Server Type : MYSQL
|
|
|
|
Target Server Version : 80018
|
|
|
|
File Encoding : 65001
|
|
|
|
|
|
|
|
Date: 2020-06-16 11:11:52
|
|
|
|
*/
|
|
|
|
|
|
|
|
SET FOREIGN_KEY_CHECKS=0;
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
-- Table structure for user_cart
|
|
|
|
-- ----------------------------
|
|
|
|
DROP TABLE IF EXISTS `cart`;
|
|
|
|
CREATE TABLE `user_cart` (
|
|
|
|
`username` varchar(40) COLLATE utf8_unicode_ci NOT NULL,
|
|
|
|
`bookname` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
|
|
|
|
`price` float(10,2) NOT NULL,
|
|
|
|
`count` int(11) NOT NULL
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
-- Records of user_cart
|
|
|
|
-- ----------------------------
|