jingyuzhi пре 4 година
родитељ
комит
adc0d7ced7
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      app/Models/ServicePack.php

+ 4 - 0
app/Models/ServicePack.php

xqd
@@ -10,6 +10,10 @@ namespace App\Models;
 
 class ServicePack extends BaseModel
 {
+    protected $table = 'service_packs';
+    protected $casts = [
+        'label' => 'json',
+    ];
     public function team()
     {
         return $this->belongsTo(Team::class);