From 06f23e7d9683a7fcbddc68b9f24330a8b6d4c7e5 Mon Sep 17 00:00:00 2001 From: Stefan Ninic Date: Thu, 21 Mar 2019 13:30:12 +0100 Subject: [PATCH] Product primary key set to SKU instead of ID --- src/Models/Product.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Models/Product.php b/src/Models/Product.php index 34308eb..4b3a478 100644 --- a/src/Models/Product.php +++ b/src/Models/Product.php @@ -14,5 +14,5 @@ class Product extends Model { protected $entity = 'products'; - protected $primaryKey = 'id'; + protected $primaryKey = 'sku'; }