Jelajahi Sumber

add primaryKey

visuddhinanda 2 tahun lalu
induk
melakukan
3c336c6004
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      app/Models/SentPr.php

+ 2 - 0
app/Models/SentPr.php

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