/*
 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;
