-- =====================================================
-- 清理 Flyway 失败的 V41 迁移记录
-- 执行时间：2026-03-19
-- 说明：在执行 V41 迁移脚本之前，先清理失败的迁移记录
-- =====================================================

-- 删除 V41 的失败记录
DELETE FROM flyway_schema_history WHERE version = '41';

-- 验证清理结果
SELECT version, description, state, installed_on
FROM flyway_schema_history
ORDER BY installed_on DESC
LIMIT 10;
