content = str_replace("\r\n", "\n", $deploymentScript->content); }); } protected $fillable = [ 'site_id', 'name', 'content', ]; protected $casts = [ 'site_id' => 'integer', ]; public function site(): BelongsTo { return $this->belongsTo(Site::class); } }