sql文档

This commit is contained in:
lizhengwei 2026-03-03 16:44:47 +08:00
parent 4d2fe41f6a
commit af59122cb6
2 changed files with 5 additions and 2 deletions

View File

@ -99,7 +99,7 @@ create table h5_project
primary key, primary key,
type varchar(50) not null comment '类型', type varchar(50) not null comment '类型',
title varchar(255) not null comment '标题', title varchar(255) not null comment '标题',
content json not null comment '项目内容JSON格式', content json null comment '项目内容JSON格式',
content_updated_at bigint null comment '内容更新时间戳', content_updated_at bigint null comment '内容更新时间戳',
description varchar(500) null comment '描述', description varchar(500) null comment '描述',
preview_url varchar(500) null comment '预览图URL', preview_url varchar(500) null comment '预览图URL',
@ -109,7 +109,9 @@ create table h5_project
status tinyint not null comment '状态', status tinyint not null comment '状态',
create_time datetime default CURRENT_TIMESTAMP not null comment '创建时间戳', create_time datetime default CURRENT_TIMESTAMP not null comment '创建时间戳',
update_time datetime null on update CURRENT_TIMESTAMP comment '更新时间戳', update_time datetime null on update CURRENT_TIMESTAMP comment '更新时间戳',
deleted tinyint(1) default 0 not null comment '是否删除' deleted tinyint(1) default 0 not null comment '是否删除',
created_by bigint not null comment '创建人',
td bigint not null comment '租户id'
) )
comment 'H5项目表' charset = utf8mb4 comment 'H5项目表' charset = utf8mb4
row_format = DYNAMIC; row_format = DYNAMIC;

View File

@ -58,6 +58,7 @@ tenant:
# 排除表 # 排除表
excludes: excludes:
- h5_group - h5_group
- h5_project_group
# MyBatisPlus配置 # MyBatisPlus配置
# https://baomidou.com/config/ # https://baomidou.com/config/