'int', 'body' => 'json', 'cost' => 'float', ]; protected $fillable = [ 'source', 'source_url', 'category_id', 'title', 'editor_format', 'excerpt', 'featured_image', 'body', 'cost', ]; public function category() { return $this->belongsTo(Category::class); } }