diff --git a/docs/sqls/v3.0.9_update.sql b/docs/sqls/v3.0.9_update.sql index 53dff2f..434d333 100644 --- a/docs/sqls/v3.0.9_update.sql +++ b/docs/sqls/v3.0.9_update.sql @@ -1,8 +1,10 @@ +# 将task_id列改名为log_id列,并修改索引 ALTER TABLE `log_push_result` CHANGE COLUMN `task_id` `log_id` bigint NULL DEFAULT NULL COMMENT '日志id' AFTER `user_id`, DROP INDEX `IDX_LOG_RES_TASKID`, ADD INDEX `IDX_LOG_RES_LOGID` (`log_id`) USING BTREE; +# 增加webhook_id列和索引 ALTER TABLE `log_push_result` ADD COLUMN `webhook_id` bigint NULL COMMENT 'webhook Id' AFTER `log_id`, ADD INDEX `IDX_LOG_RES_WEBHOOKID`(`webhook_id`); \ No newline at end of file