jingyuzhi 4 лет назад
Родитель
Сommit
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);