protected function processMigrations()
    {
        $messages = '';

        $migrationsPaths = [
            '@vendor/dektrium/yii2-user/migrations',
            '@yii/rbac/migrations',
            '@pheme/settings/migrations',
        ];

        foreach ($migrationsPaths as $path)
        {
            $migration = new Migration(Yii::getAlias($path));
            $migration->up();
            $messages .= implode("\n", $migration->messages);
        }

        return $messages;
    }