Fix updater

This commit is contained in:
Nabeel Shahzad
2018-06-22 09:26:08 -05:00
parent 230d3bebd3
commit 9125cc3d87
4 changed files with 16 additions and 15 deletions

View File

@@ -33,7 +33,7 @@ class MigrationService extends Service
'core' => \App::databasePath() . '/migrations'
];
$modules = Module::enabled();
$modules = Module::allEnabled();
foreach ($modules as $module) {
$module_path = $module->getPath() . '/Database/migrations';
if(file_exists($module_path)) {