upload project source code
This commit is contained in:
20
后端源码/yifan.action-ai.cn/api-bak/sql/solution_sections.sql
Normal file
20
后端源码/yifan.action-ai.cn/api-bak/sql/solution_sections.sql
Normal file
@@ -0,0 +1,20 @@
|
||||
-- 方案板块表
|
||||
CREATE TABLE `yifan_solution_sections` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
|
||||
`created_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
||||
`updated_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
||||
`created_id` int(11) DEFAULT NULL COMMENT '创建人ID',
|
||||
`updated_id` int(11) DEFAULT NULL COMMENT '更新人ID',
|
||||
`is_deleted` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否删除(0否 1是)',
|
||||
`status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态(0禁用 1启用)',
|
||||
|
||||
`solution_id` int(11) NOT NULL COMMENT '关联方案ID',
|
||||
`section_type` varchar(50) NOT NULL COMMENT '板块类型(ditiantai:地天泰 kaiyun_jingnang:开运锦囊 shici:诗词出处 wuxing:五行分布 liuyao:六维格局 jiazu:家族起名 bihua:笔画数理 ziyi_shengxiao:字义生肖 zonghe_pingfen:综合评分)',
|
||||
`title` varchar(100) DEFAULT NULL COMMENT '板块标题',
|
||||
`summary_data` json DEFAULT NULL COMMENT '摘要数据(首页卡片展示)',
|
||||
`sort_order` int(11) DEFAULT '0' COMMENT '排序',
|
||||
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `idx_solution_id` (`solution_id`),
|
||||
KEY `idx_section_type` (`section_type`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='方案板块表';
|
||||
Reference in New Issue
Block a user