1 Star 0 Fork 1

PlutoRay/CodeBridge

forked from WebberShaw/CodeBridge 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
user.sql 2.17 KB
一键复制 编辑 原始数据 按行查看 历史
WebberShaw 提交于 2023-03-15 15:19 . Database diverted
/*
Navicat Premium Data Transfer
Source Server : server
Source Server Type : MySQL
Source Server Version : 80031 (8.0.31)
Source Host : ddns.webbershaw.fun:3306
Source Schema : user
Target Server Type : MySQL
Target Server Version : 80031 (8.0.31)
File Encoding : 65001
Date: 15/03/2023 11:30:10
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for school
-- ----------------------------
DROP TABLE IF EXISTS `school`;
CREATE TABLE `school` (
`school_id` int NOT NULL AUTO_INCREMENT,
`image_path` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
`school_name` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL,
`school_intro` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
PRIMARY KEY (`school_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
-- ----------------------------
-- Records of school
-- ----------------------------
BEGIN;
COMMIT;
-- ----------------------------
-- Table structure for user
-- ----------------------------
DROP TABLE IF EXISTS `user`;
CREATE TABLE `user` (
`id` bigint NOT NULL AUTO_INCREMENT,
`username` varchar(25) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`pwd` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`email` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL,
`deleted` tinyint NOT NULL DEFAULT '0',
`avatar_url` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
`identity` tinyint DEFAULT NULL,
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`intro` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
`certified` tinyint DEFAULT NULL,
`school_id` int DEFAULT NULL,
`person_id` int DEFAULT NULL,
`name` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL,
`tel` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
-- ----------------------------
-- Records of user
-- ----------------------------
BEGIN;
COMMIT;
SET FOREIGN_KEY_CHECKS = 1;
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/PlutoRay/code-bridge.git
git@gitee.com:PlutoRay/code-bridge.git
PlutoRay
code-bridge
CodeBridge
develop

搜索帮助

0d507c66 1850385 C8b1a773 1850385