You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
91 lines
4.2 KiB
91 lines
4.2 KiB
6 months ago
|
/*
|
||
|
Navicat Premium Data Transfer
|
||
|
|
||
|
Source Server : localhost_3306
|
||
|
Source Server Type : MySQL
|
||
|
Source Server Version : 80037
|
||
|
Source Host : localhost:3306
|
||
|
Source Schema : teaching_db
|
||
|
|
||
|
Target Server Type : MySQL
|
||
|
Target Server Version : 80037
|
||
|
File Encoding : 65001
|
||
|
|
||
|
Date: 03/06/2024 10:11:01
|
||
|
*/
|
||
|
|
||
|
SET NAMES utf8mb4;
|
||
|
SET FOREIGN_KEY_CHECKS = 0;
|
||
|
|
||
|
-- ----------------------------
|
||
|
-- Table structure for se_course_favour
|
||
|
-- ----------------------------
|
||
|
DROP TABLE IF EXISTS `se_course_favour`;
|
||
|
CREATE TABLE `se_course_favour` (
|
||
|
`id` varchar(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
|
||
|
`course_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
||
|
`user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`) USING BTREE
|
||
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
|
||
|
|
||
|
-- ----------------------------
|
||
|
-- Table structure for se_course_thumb
|
||
|
-- ----------------------------
|
||
|
DROP TABLE IF EXISTS `se_course_thumb`;
|
||
|
CREATE TABLE `se_course_thumb` (
|
||
|
`id` varchar(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
|
||
|
`course_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
||
|
`user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`) USING BTREE
|
||
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
|
||
|
|
||
|
-- ----------------------------
|
||
|
-- Table structure for se_know_favour
|
||
|
-- ----------------------------
|
||
|
DROP TABLE IF EXISTS `se_know_favour`;
|
||
|
CREATE TABLE `se_know_favour` (
|
||
|
`id` varchar(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
|
||
|
`course_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
||
|
`know_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
||
|
`user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`) USING BTREE
|
||
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
|
||
|
|
||
|
-- ----------------------------
|
||
|
-- Table structure for se_know_thumb
|
||
|
-- ----------------------------
|
||
|
DROP TABLE IF EXISTS `se_know_thumb`;
|
||
|
CREATE TABLE `se_know_thumb` (
|
||
|
`id` varchar(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
|
||
|
`course_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
||
|
`know_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
||
|
`user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`) USING BTREE
|
||
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
|
||
|
|
||
|
-- ----------------------------
|
||
|
-- Table structure for se_resource_favour
|
||
|
-- ----------------------------
|
||
|
DROP TABLE IF EXISTS `se_resource_favour`;
|
||
|
CREATE TABLE `se_resource_favour` (
|
||
|
`id` varchar(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
|
||
|
`course_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
||
|
`resource_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
||
|
`user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`) USING BTREE
|
||
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
|
||
|
|
||
|
-- ----------------------------
|
||
|
-- Table structure for se_resource_thumb
|
||
|
-- ----------------------------
|
||
|
DROP TABLE IF EXISTS `se_resource_thumb`;
|
||
|
CREATE TABLE `se_resource_thumb` (
|
||
|
`id` varchar(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
|
||
|
`course_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
||
|
`resource_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
||
|
`user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`) USING BTREE
|
||
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
|
||
|
|
||
|
SET FOREIGN_KEY_CHECKS = 1;
|