public function actionIndex() { $model = new Database(); return $this->render('index', ['model' => $model, 'tables' => $model->getStatus()]); }