master
parent
d58ea74eab
commit
00da032b98
@ -1,32 +0,0 @@
|
|||||||
/*
|
|
||||||
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-23 00:20:11
|
|
||||||
*/
|
|
||||||
|
|
||||||
SET FOREIGN_KEY_CHECKS=0;
|
|
||||||
|
|
||||||
-- ----------------------------
|
|
||||||
-- Table structure for order
|
|
||||||
-- ----------------------------
|
|
||||||
DROP TABLE IF EXISTS `order`;
|
|
||||||
CREATE TABLE `order` (
|
|
||||||
`id` varchar(11) COLLATE utf8_unicode_ci NOT NULL,
|
|
||||||
`username` varchar(11) COLLATE utf8_unicode_ci NOT NULL,
|
|
||||||
`ortime` date NOT NULL,
|
|
||||||
`state` int(20) NOT NULL,
|
|
||||||
PRIMARY KEY (`id`)
|
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
|
||||||
|
|
||||||
-- ----------------------------
|
|
||||||
-- Records of order
|
|
||||||
-- ----------------------------
|
|
@ -0,0 +1,45 @@
|
|||||||
|
/*
|
||||||
|
Navicat Premium Data Transfer
|
||||||
|
|
||||||
|
Source Server : root
|
||||||
|
Source Server Type : MySQL
|
||||||
|
Source Server Version : 80019
|
||||||
|
Source Host : localhost:3306
|
||||||
|
Source Schema : bookstore
|
||||||
|
|
||||||
|
Target Server Type : MySQL
|
||||||
|
Target Server Version : 80019
|
||||||
|
File Encoding : 65001
|
||||||
|
|
||||||
|
Date: 24/06/2020 19:08:12
|
||||||
|
*/
|
||||||
|
|
||||||
|
SET NAMES utf8mb4;
|
||||||
|
SET FOREIGN_KEY_CHECKS = 0;
|
||||||
|
|
||||||
|
-- ----------------------------
|
||||||
|
-- Table structure for orders
|
||||||
|
-- ----------------------------
|
||||||
|
DROP TABLE IF EXISTS `orders`;
|
||||||
|
CREATE TABLE `orders` (
|
||||||
|
`id` int(0) NOT NULL AUTO_INCREMENT,
|
||||||
|
`username` varchar(11) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
|
||||||
|
`ortime` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0),
|
||||||
|
`state` int(0) NOT NULL DEFAULT 0,
|
||||||
|
PRIMARY KEY (`id`) USING BTREE
|
||||||
|
) ENGINE = InnoDB AUTO_INCREMENT = 10 CHARACTER SET = utf8 COLLATE = utf8_unicode_ci ROW_FORMAT = Dynamic;
|
||||||
|
|
||||||
|
-- ----------------------------
|
||||||
|
-- Records of orders
|
||||||
|
-- ----------------------------
|
||||||
|
INSERT INTO `orders` VALUES (1, 'admin1', '2020-06-24 18:58:08', 0);
|
||||||
|
INSERT INTO `orders` VALUES (2, 'admin1', '2020-06-24 18:58:08', 0);
|
||||||
|
INSERT INTO `orders` VALUES (3, 'admin1', '2020-06-24 18:58:08', 0);
|
||||||
|
INSERT INTO `orders` VALUES (4, 'admin1', '2020-06-24 18:58:08', 0);
|
||||||
|
INSERT INTO `orders` VALUES (5, 'admin1', '2020-06-24 19:04:54', 0);
|
||||||
|
INSERT INTO `orders` VALUES (6, 'admin1', '2020-06-24 19:05:05', 0);
|
||||||
|
INSERT INTO `orders` VALUES (7, 'admin1', '2020-06-24 19:05:10', 0);
|
||||||
|
INSERT INTO `orders` VALUES (8, 'admin1', '2020-06-24 19:05:35', 0);
|
||||||
|
INSERT INTO `orders` VALUES (9, 'admin1', '2020-06-24 19:06:10', 0);
|
||||||
|
|
||||||
|
SET FOREIGN_KEY_CHECKS = 1;
|
Loading…
Reference in new issue