This commit is contained in:
2025-11-30 12:07:18 +08:00
parent 38472ee832
commit 6aeb522f24
222 changed files with 6678 additions and 9983 deletions

View File

@@ -0,0 +1,19 @@
-- 添加缺失的 status 字段到4张表
-- 生成时间: 2025-11-29
-- 说明: 所有继承 TenantEntity 的实体类都需要 status 字段
-- 1. martial_athlete 表添加 status 字段
ALTER TABLE martial_athlete
ADD COLUMN status int DEFAULT 1 COMMENT '状态(1-启用,2-禁用)' AFTER update_time;
-- 2. martial_live_update 表添加 status 字段
ALTER TABLE martial_live_update
ADD COLUMN status int DEFAULT 1 COMMENT '状态(1-启用,2-禁用)' AFTER update_time;
-- 3. martial_result 表添加 status 字段
ALTER TABLE martial_result
ADD COLUMN status int DEFAULT 1 COMMENT '状态(1-启用,2-禁用)' AFTER update_time;
-- 4. martial_schedule_athlete 表添加 status 字段
ALTER TABLE martial_schedule_athlete
ADD COLUMN status int DEFAULT 1 COMMENT '状态(1-启用,2-禁用)' AFTER update_time;