2
0
visuddhinanda@gmail.com 4 жил өмнө
parent
commit
c5bde13e0a
1 өөрчлөгдсөн 3 нэмэгдсэн , 1 устгасан
  1. 3 1
      app/Models/View.php

+ 3 - 1
app/Models/View.php

@@ -10,7 +10,9 @@ class View extends Model
     use HasFactory;
 
     protected $casts = [
-    'id' => 'string'
+    'id' => 'string',
+    'target_id' => 'string'
     ];
+
     protected $fillable = ['target_type' , 'target_id' , 'user_id', 'user_ip'];
 }