Loading src/Helpers/Build.php +4 −3 Original line number Diff line number Diff line Loading @@ -245,9 +245,10 @@ public function getIsUpgradeSupported($compareVersion) { $isSameVersion = boolval(!strcmp($this->androidVersion, $compareVersion)); // Check if Android version is same $migrationContents = NULL; if(file_exists($this->migrationFilePath)) { $migrationContents = file_get_contents($this->migrationFilePath); } if (!empty($migrationContents)) { $migrations = json_decode($migrationContents, true); // Contains migration rules Loading Loading
src/Helpers/Build.php +4 −3 Original line number Diff line number Diff line Loading @@ -245,9 +245,10 @@ public function getIsUpgradeSupported($compareVersion) { $isSameVersion = boolval(!strcmp($this->androidVersion, $compareVersion)); // Check if Android version is same $migrationContents = NULL; if(file_exists($this->migrationFilePath)) { $migrationContents = file_get_contents($this->migrationFilePath); } if (!empty($migrationContents)) { $migrations = json_decode($migrationContents, true); // Contains migration rules Loading