added primary keys to all models

This commit is contained in:
2021-03-10 23:29:30 +09:00
parent 91bde37441
commit 4db6dac439
35 changed files with 197 additions and 19 deletions

View File

@@ -22,6 +22,9 @@ class User extends Authenticatable
*/
protected $table = 'users';
//Primary Key
public $primaryKey = 'id';
/**
* The attributes that are mass assignable.
*