public function actionUpdate()
    {
        $result = ['error' => Yii::t('podium/view', 'Error')];

        if (Yii::$app->request->isPost) {
            $result = (new Update())->nextStep();
        }
        return Json::encode($result);
    }
public function actionUpdate()
    {
        $result = ['error' => Yii::t('podium/view', 'Error')];

        if (Yii::$app->request->isPost) {
            $result = (new Update())->nextStep();
        }
        return Json::encode($result);
    }
public function actionUpdate ( ) { $ result = [ 'error' => Yii :: t ( 'podium/view' , 'Error' ) ] ; if ( Yii :: $ app -> request -> isPost ) { $ result = ( new Update ( ) ) -> nextStep ( ) ; } return Json :: encode ( $ result ) ; }
Updating the databases structures.
@return string
Updating the databases structures .