'integer', 'mode' => 'integer', ]; public function site(): BelongsTo { return $this->belongsTo(Site::class); } public function addToServer(): void { dispatch(new AddToServer($this))->onConnection('ssh'); } public function deleteFromServer(): void { $this->status = 'deleting'; $this->save(); dispatch(new DeleteFromServer($this))->onConnection('ssh'); } }