/**
  * Creates a new BasicIndicators model.
  * If creation is successful, the browser will be redirected to the 'view' page.
  * @return mixed
  */
 public function actionCreate()
 {
     if (\Yii::$app->user->isGuest) {
         return $this->goHome();
     }
     $model = new BasicIndicators();
     if ($model->load(Yii::$app->request->post()) && $model->save()) {
         // Yii::$app->db->createCommand()
         //     ->addColumn(Hospitals::tableName(), $model->name, 'decimal(12,2)')
         //     ->execute();
         Yii::$app->db->createCommand()->addColumn(Divisions::tableName(), $model->name, 'decimal(12,2)')->execute();
         return $this->redirect(['view', 'id' => $model->id]);
     } else {
         return $this->render('create', ['model' => $model]);
     }
 }