From 3ab12c28b1fd368444d1d6521e0fc3d18d28c31e Mon Sep 17 00:00:00 2001 From: Hessam Date: Thu, 21 Jan 2021 12:34:23 +0330 Subject: [PATCH] fix for primary key for HessamConfiguration model --- src/Models/HessamConfiguration.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Models/HessamConfiguration.php b/src/Models/HessamConfiguration.php index 0114d3f..5540ef5 100644 --- a/src/Models/HessamConfiguration.php +++ b/src/Models/HessamConfiguration.php @@ -11,6 +11,8 @@ */ class HessamConfiguration extends Model { + protected $primaryKey = 'key'; + public $fillable = [ 'key', 'value'