소스 검색

add primaryKey

visuddhinanda 3 년 전
부모
커밋
3c336c6004
1개의 변경된 파일과 2개의 추가작업 그리고 0개의 파일을 삭제
  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';
+
 }