/*
 Navicat Premium Dump SQL

 Source Server         : 120.24.204.180
 Source Server Type    : MySQL
 Source Server Version : 80036 (8.0.36)
 Source Host           : 120.24.204.180:3306
 Source Schema         : app

 Target Server Type    : MySQL
 Target Server Version : 80036 (8.0.36)
 File Encoding         : 65001

 Date: 28/10/2025 13:46:32
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for app_course_category
-- ----------------------------
DROP TABLE IF EXISTS `app_course_category`;
CREATE TABLE `app_course_category` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
  `icon` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '图标',
  `category_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '分类名称',
  `description` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '分类描述',
  `first_status` int NOT NULL DEFAULT '2' COMMENT '置首页：1置首，2不置首',
  `type` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '类别：category分类，tag标签',
  `status` tinyint(1) DEFAULT '0' COMMENT '状态：1正常，2关闭',
  `create_time` datetime NOT NULL COMMENT '创建时间',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='使用教程分类/标签表';

-- ----------------------------
-- Records of app_course_category
-- ----------------------------
BEGIN;
INSERT INTO `app_course_category` (`id`, `icon`, `category_title`, `description`, `first_status`, `type`, `status`, `create_time`, `update_time`) VALUES (1, NULL, '快速指南', NULL, 1, 'category', 1, '2025-10-28 12:06:03', NULL);
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
