mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-11-13 09:46:09 +08:00
新增帮助文档管理
This commit is contained in:
18
sop.sql
18
sop.sql
@@ -474,3 +474,21 @@ INSERT INTO `sys_user_role` (`id`, `role_id`, `user_id`, `add_time`, `update_tim
|
||||
-- ALTER
|
||||
ALTER TABLE `api_info`
|
||||
ADD COLUMN `api_mode` tinyint(4) NULL DEFAULT '1' COMMENT '接口模式,1-open接口,2-Restful模式' AFTER `reg_source`;
|
||||
|
||||
|
||||
-- 2025-06-15
|
||||
CREATE TABLE `help_doc` (
|
||||
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
|
||||
`label` varchar(64) NOT NULL DEFAULT '' COMMENT '文档名称',
|
||||
`sort` int(11) NOT NULL DEFAULT '0' COMMENT '排序',
|
||||
`is_deleted` tinyint(4) unsigned NOT NULL DEFAULT '0' COMMENT '是否删除',
|
||||
`status` tinyint(4) unsigned NOT NULL DEFAULT '1' COMMENT '状态,1:启用,2:禁用',
|
||||
`content` longtext COMMENT '内容',
|
||||
`content_type` tinyint(4) NOT NULL DEFAULT '1' COMMENT '内容类型,1-Markdown,2-富文本',
|
||||
`parent_id` bigint(20) NOT NULL DEFAULT '0' COMMENT '父级id',
|
||||
`add_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '添加时间',
|
||||
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
|
||||
`add_by` bigint(20) DEFAULT '0' COMMENT '创建人id',
|
||||
`update_by` bigint(20) DEFAULT '0' COMMENT '修改人id',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB COMMENT='帮助内容表';
|
||||
|
||||
Reference in New Issue
Block a user