*/ class RageFrameController extends Controller { /** * @throws \yii\web\NotFoundHttpException * @throws \yii\web\UnprocessableEntityHttpException */ public function actionUpdate() { Console::output('updating...'); try { Yii::$app->services->addons->upgradeSql('Authority'); } catch (\Exception $e) { Console::output($e->getMessage()); return false; } return Console::output('update completed...'); } }