/** * Sets ON UPDATE action for the foreign key. * * @param string $onUpdate * * @return $this */ public function setOnUpdate($onUpdate) { $this->foreign->setOnUpdate($onUpdate); return $this; }