You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
submodule migrations throw require errors ("no such file ...").
e.g. config file with module => array(
'class'=>'application.modules.base.modules.submodule.SubmoduleClass'
) - will cause error.
You can fix it within EMigrateCommand.php:89
--- Yii::setPathOfAlias(
--- $alias,
--- dirname(Yii::getPathOfAlias($config['class'])) . '/' .
--- str_replace('.', '/', ltrim($this->migrationSubPath, '.'))
--- );
submodule migrations throw require errors ("no such file ...").
e.g. config file with module => array(
'class'=>'application.modules.base.modules.submodule.SubmoduleClass'
) - will cause error.
You can fix it within EMigrateCommand.php:89
--- Yii::setPathOfAlias(
--- $alias,
--- dirname(Yii::getPathOfAlias($config['class'])) . '/' .
--- str_replace('.', '/', ltrim($this->migrationSubPath, '.'))
--- );
+++$alias = preg_replace('/\w+$ /', 'migrations', $config['class']);
The text was updated successfully, but these errors were encountered: