2
0
visuddhinanda 2 жил өмнө
parent
commit
fd126b8b74

+ 5 - 0
app/Models/Attachment.php

@@ -8,4 +8,9 @@ use Illuminate\Database\Eloquent\Model;
 class Attachment extends Model
 {
     use HasFactory;
+    protected $primaryKey = 'id';
+    protected $casts = [
+        'id' => 'string'
+    ];
+    public  $incrementing = true;
 }