Parcourir la source

add primaryKey

visuddhinanda il y a 2 ans
Parent
commit
3c336c6004
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      app/Models/SentPr.php

+ 2 - 0
app/Models/SentPr.php

@@ -11,4 +11,6 @@ class SentPr extends Model
 	protected $casts = [
 	protected $casts = [
 		'id' => 'string'
 		'id' => 'string'
 	];
 	];
+    protected $primaryKey = 'id';
+
 }
 }