public function down() { $model = Config::findOne(Robots::KEY_ROBOTS); if ($model && $model->value === $this->robotsText) { $model->delete(); } }