-- =====================================================
-- 迁移 V37: 修复失败的 V36 迁移
--
-- 此迁移删除失败的 V36 记录，让 V36 可以重新运行
-- =====================================================

-- 删除失败的 V36 迁移记录
DELETE FROM flyway_schema_history
WHERE version = '36' AND success = 0;

-- 验证删除
SELECT '=== 已删除失败的 V36 迁移记录 ===' as info;
SELECT version, description, success, installed_on
FROM flyway_schema_history
WHERE version = '36'
ORDER BY installed_rank DESC;
