visuddhinanda 3 лет назад
Родитель
Сommit
b519492d07
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      app/Models/ArticleCollection.php

+ 3 - 0
app/Models/ArticleCollection.php

@@ -8,4 +8,7 @@ use Illuminate\Database\Eloquent\Model;
 class ArticleCollection extends Model
 {
     use HasFactory;
+    protected $casts = [
+        'id' => 'string'
+    ];
 }