[Claude Workbench] Initial commit - preserving existing code

This commit is contained in:
Claude Workbench
2025-11-14 17:41:15 +08:00
commit 0f7bc05697
587 changed files with 103215 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
-- =================================================================
-- V3: 为AI任务与积分系统的新表添加逻辑删除字段
-- 时间: 2025-10-19
-- 描述: 补充 V2 脚本中遗漏的 is_deleted 字段,保持与项目其他表的一致性。
-- =================================================================
-- 为 points_config 表添加逻辑删除字段
ALTER TABLE `points_config`
ADD COLUMN `is_deleted` tinyint(1) NOT NULL DEFAULT 0 COMMENT '逻辑删除标识' AFTER `update_time`;
-- 为 points_consumption_log 表添加逻辑删除字段
ALTER TABLE `points_consumption_log`
ADD COLUMN `is_deleted` tinyint(1) NOT NULL DEFAULT 0 COMMENT '逻辑删除标识' AFTER `create_time`;
-- 为 system_config 表添加逻辑删除字段
ALTER TABLE `system_config`
ADD COLUMN `is_deleted` tinyint(1) NOT NULL DEFAULT 0 COMMENT '逻辑删除标识' AFTER `update_time`;
-- =================================================================
-- V3脚本结束
-- =================================================================