diff --git a/src/Schema/SolutionSchema.php b/src/Schema/SolutionSchema.php index eaf1358..0d03c48 100644 --- a/src/Schema/SolutionSchema.php +++ b/src/Schema/SolutionSchema.php @@ -688,7 +688,7 @@ public function getRelationship($modelName, $navigationName) */ public function checkModelSchemasIfNecessary() { - $cachePath = Application::current()->tempPath."/cache/"; + $cachePath = Application::current()->applicationRootPath."/cache/"; if (!file_exists($cachePath."schema-versions")) { mkdir($cachePath."schema-versions", 0777, true);