Explorar el Código

'id' => 'string'

visuddhinanda hace 2 años
padre
commit
a1d4a43ad7
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      app/Models/SentHistory.php

+ 3 - 0
app/Models/SentHistory.php

@@ -9,4 +9,7 @@ class SentHistory extends Model
 {
     use HasFactory;
     const UPDATED_AT = null;
+    protected $casts = [
+		'id' => 'string'
+	];
 }