1 Star 0 Fork 1

PlutoRay/CodeBridge

forked from WebberShaw/CodeBridge 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
course.sql 2.75 KB
一键复制 编辑 原始数据 按行查看 历史
/*
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 : course
Target Server Type : MySQL
Target Server Version : 80031 (8.0.31)
File Encoding : 65001
Date: 15/03/2023 11:29:40
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for class
-- ----------------------------
DROP TABLE IF EXISTS `class`;
CREATE TABLE `class` (
`class_id` int NOT NULL AUTO_INCREMENT,
`course_id` int NOT NULL,
`user_id` bigint NOT NULL,
`class_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'Default Class',
`deleted` tinyint NOT NULL DEFAULT '0',
PRIMARY KEY (`class_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
-- ----------------------------
-- Records of class
-- ----------------------------
BEGIN;
COMMIT;
-- ----------------------------
-- Table structure for classification
-- ----------------------------
DROP TABLE IF EXISTS `classification`;
CREATE TABLE `classification` (
`classification_id` int NOT NULL AUTO_INCREMENT,
`classification_name` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL,
PRIMARY KEY (`classification_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
-- ----------------------------
-- Records of classification
-- ----------------------------
BEGIN;
COMMIT;
-- ----------------------------
-- Table structure for course
-- ----------------------------
DROP TABLE IF EXISTS `course`;
CREATE TABLE `course` (
`course_id` int NOT NULL AUTO_INCREMENT,
`course_name` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL,
`course_intro` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
`start_time` datetime DEFAULT NULL,
`end_time` datetime DEFAULT NULL,
`deleted` tinyint NOT NULL DEFAULT '0',
PRIMARY KEY (`course_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
-- ----------------------------
-- Records of course
-- ----------------------------
BEGIN;
COMMIT;
-- ----------------------------
-- Table structure for model
-- ----------------------------
DROP TABLE IF EXISTS `model`;
CREATE TABLE `model` (
`model_id` int NOT NULL AUTO_INCREMENT,
`model_name` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL,
`is_public` tinyint DEFAULT NULL,
`created_time` datetime DEFAULT CURRENT_TIMESTAMP,
`deleted` tinyint NOT NULL DEFAULT '0',
`classification_id` int DEFAULT NULL,
PRIMARY KEY (`model_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
-- ----------------------------
-- Records of model
-- ----------------------------
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

搜索帮助