2 Star 5 Fork 1

icechen1219/java-web-demo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
user.sql 1.73 KB
一键复制 编辑 原始数据 按行查看 历史
icechen1219 提交于 2023-04-03 18:19 . jdbc插入数据
/*
Navicat Premium Data Transfer
Source Server : JavaWeb
Source Server Type : MySQL
Source Server Version : 50739
Source Host : 10.254.1.38:3306
Source Schema : javaweb
Target Server Type : MySQL
Target Server Version : 50739
File Encoding : 65001
Date: 03/04/2023 15:03:54
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for user
-- ----------------------------
DROP TABLE IF EXISTS `user`;
CREATE TABLE `user` (
`user_id` int(11) NOT NULL AUTO_INCREMENT,
`username` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户名',
`password` varchar(80) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '密码',
`gender` varchar(4) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '性别',
`profession` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '职业',
`favor` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '爱好',
`description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '个人说明',
`join_date` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '注册日期',
`last_login_time` timestamp(0) NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '最近登录时间',
`role` int(10) UNSIGNED NULL DEFAULT 1 COMMENT '角色。0-普通用户,9-管理员',
`state` int(11) UNSIGNED NULL DEFAULT 1 COMMENT '状态。0-冻结,1-正常',
PRIMARY KEY (`user_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 18 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
SET FOREIGN_KEY_CHECKS = 1;
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/weyoungtech/java-web-demo.git
git@gitee.com:weyoungtech/java-web-demo.git
weyoungtech
java-web-demo
java-web-demo
develop

搜索帮助