mirror of
https://github.com/humhub/humhub.git
synced 2025-04-15 20:55:14 +02:00
Fixed module without migrations
This commit is contained in:
parent
47f2b7a2b2
commit
e1fe539f29
@ -185,9 +185,15 @@ class Module extends \yii\base\Module
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Execute all not applied module migrations
|
||||
*/
|
||||
protected function migrate()
|
||||
{
|
||||
\humhub\commands\MigrateController::webMigrateUp($this->basePath . '/migrations');
|
||||
$migrationPath = $this->basePath . '/migrations';
|
||||
if (is_dir($migrationPath)) {
|
||||
\humhub\commands\MigrateController::webMigrateUp();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user