mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-18 09:35:29 +08:00
feat :组件分类
This commit is contained in:
parent
6b6570072d
commit
9206f44e10
@ -30,6 +30,34 @@ create index INDEX_KEY
|
|||||||
create index INDEX_MD5
|
create index INDEX_MD5
|
||||||
on file_metadata_info (file_md5);
|
on file_metadata_info (file_md5);
|
||||||
|
|
||||||
|
|
||||||
|
create table h5_project
|
||||||
|
(
|
||||||
|
id bigint auto_increment comment '主键ID'
|
||||||
|
primary key,
|
||||||
|
type varchar(50) not null comment '类型',
|
||||||
|
title varchar(255) not null comment '标题',
|
||||||
|
content json not null comment '项目内容(JSON格式)',
|
||||||
|
content_updated_at bigint null comment '内容更新时间戳',
|
||||||
|
description varchar(500) null comment '描述',
|
||||||
|
preview_url varchar(500) null comment '预览图URL',
|
||||||
|
preview_url_watermark varchar(500) null comment '水印预览图URL',
|
||||||
|
preview_width int not null comment '预览图宽度',
|
||||||
|
preview_height int not null comment '预览图高度',
|
||||||
|
status tinyint(2) default 1 not null comment '状态:1:草稿;2:已发布',
|
||||||
|
create_time datetime default CURRENT_TIMESTAMP not null comment '创建时间戳',
|
||||||
|
update_time datetime null on update CURRENT_TIMESTAMP comment '更新时间戳',
|
||||||
|
deleted tinyint(1) default 0 not null comment '是否删除',
|
||||||
|
created_by bigint default 0 not null comment '创建人',
|
||||||
|
td bigint default -1 null comment '租户id,-1表示无租户的概念'
|
||||||
|
)
|
||||||
|
comment 'H5项目表' charset = utf8mb4;
|
||||||
|
|
||||||
|
create fulltext index ft_title
|
||||||
|
on h5_project (title);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
create table h5_font
|
create table h5_font
|
||||||
(
|
(
|
||||||
id bigint auto_increment comment '主键ID'
|
id bigint auto_increment comment '主键ID'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user