From 80b4ab320e34406e7b68291b01201d7a3c16b656 Mon Sep 17 00:00:00 2001 From: Kirtan Gajjar Date: Tue, 24 Aug 2021 15:16:13 +0530 Subject: [PATCH] Fix migration cache removal --- php/EE/Migration/Executor.php | 1 + 1 file changed, 1 insertion(+) diff --git a/php/EE/Migration/Executor.php b/php/EE/Migration/Executor.php index 249e00df9..8ef7afae6 100644 --- a/php/EE/Migration/Executor.php +++ b/php/EE/Migration/Executor.php @@ -30,6 +30,7 @@ public static function execute_migrations() { self::execute_migration_stack( $migrations ); } catch ( \Throwable $e ) { Utils\delem_log( 'ee migration ended abruptly' ); + EE::get_cache()->remove( 'migration_running' ); exit( 1 ); }