Skip to content

Commit

Permalink
调整mysql脚本字段类型
Browse files Browse the repository at this point in the history
  • Loading branch information
qmdx committed Oct 14, 2024
1 parent a864b76 commit a14a802
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions db/flowlong-mysql.sql
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ CREATE TABLE `flw_his_task`
`task_type` tinyint(1) NOT NULL COMMENT '任务类型',
`perform_type` tinyint(1) COMMENT '参与类型',
`action_url` varchar(200) COMMENT '任务处理的url',
`variable` json COMMENT '变量json',
`variable` text COMMENT '变量json',
`assignor_id` varchar(100) COMMENT '委托人ID',
`assignor` varchar(255) COMMENT '委托人',
`expire_time` timestamp NULL DEFAULT NULL COMMENT '任务期望完成时间',
Expand Down Expand Up @@ -116,7 +116,7 @@ CREATE TABLE `flw_his_task_actor`
`weight` int COMMENT '权重,票签任务时,该值为不同处理人员的分量比例,代理任务时,该值为 1 时为代理人',
`agent_id` varchar(100) COMMENT '代理人ID',
`agent_type` int COMMENT '代理人类型 0,代理 1,被代理 2,认领角色 3,认领部门',
`extend` json COMMENT '扩展json',
`extend` text COMMENT '扩展json',
PRIMARY KEY (`id`) USING BTREE,
INDEX `idx_his_task_actor_task_id`(`task_id` ASC) USING BTREE,
CONSTRAINT `fk_his_task_actor_task_id` FOREIGN KEY (`task_id`) REFERENCES `flw_his_task` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
Expand Down Expand Up @@ -167,7 +167,7 @@ CREATE TABLE `flw_task`
`task_type` tinyint(1) NOT NULL COMMENT '任务类型',
`perform_type` tinyint(1) NULL COMMENT '参与类型',
`action_url` varchar(200) COMMENT '任务处理的url',
`variable` json COMMENT '变量json',
`variable` text COMMENT '变量json',
`assignor_id` varchar(100) COMMENT '委托人ID',
`assignor` varchar(255) COMMENT '委托人',
`expire_time` timestamp NULL DEFAULT NULL COMMENT '任务期望完成时间',
Expand Down Expand Up @@ -195,7 +195,7 @@ CREATE TABLE `flw_task_actor`
`weight` int COMMENT '权重,票签任务时,该值为不同处理人员的分量比例,代理任务时,该值为 1 时为代理人',
`agent_id` varchar(100) COMMENT '代理人ID',
`agent_type` int COMMENT '代理人类型 0,代理 1,被代理 2,认领角色 3,认领部门',
`extend` json COMMENT '扩展json',
`extend` text COMMENT '扩展json',
PRIMARY KEY (`id`) USING BTREE,
INDEX `idx_task_actor_task_id`(`task_id` ASC) USING BTREE,
CONSTRAINT `fk_task_actor_task_id` FOREIGN KEY (`task_id`) REFERENCES `flw_task` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
Expand Down

0 comments on commit a14a802

Please sign in to comment.