Browse Source

add primaryKey

visuddhinanda 2 years ago
parent
commit
3c336c6004
1 changed files with 2 additions and 0 deletions
  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';
+
 }
 }