Navicat Premium Data Transfer
Source Server : MySQL
Source Server Type : MySQL
Source Server Version : 80024
Source Host : localhost:3306
Source Schema : test
Target Server Type : MySQL
Target Server Version : 80024
File Encoding : 65001
Date: 04/08/2021 14:51:24
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for user
-- ----------------------------
DROP TABLE IF EXISTS `user`;
CREATE TABLE `user` (
`id` int(4) UNSIGNED ZEROFILL NOT NULL AUTO_INCREMENT COMMENT 'user id',
`userName` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`pwd` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '密码',
`email` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '邮件',
`birthday` date NULL DEFAULT NULL COMMENT '出生日期',
`role` int NULL DEFAULT NULL COMMENT '用户等级',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of user
-- ----------------------------
INSERT INTO `user` VALUES (0001, 'name', '123456', '2082585862@qq.com', '2021-08-04', 1);
SET FOREIGN_KEY_CHECKS = 1;