diff --git a/app/Services/Helpers/PluginService.php b/app/Services/Helpers/PluginService.php index 6b639f0e6..9dac1fcd7 100644 --- a/app/Services/Helpers/PluginService.php +++ b/app/Services/Helpers/PluginService.php @@ -180,7 +180,7 @@ class PluginService { $migrations = plugin_path($plugin->id, 'database', 'migrations'); if (file_exists($migrations)) { - $success = Artisan::call('migrate', ['--path' => $migrations, '--force' => true]) === 0; + $success = Artisan::call('migrate', ['--realpath' => true, '--path' => $migrations, '--force' => true]) === 0; if (!$success) { throw new Exception("Could not run migrations for plugin '{$plugin->id}'");