Skip to content

Commit

Permalink
Product primary key set to SKU instead of ID
Browse files Browse the repository at this point in the history
  • Loading branch information
kg-bot committed Mar 21, 2019
1 parent 4ac8142 commit 06f23e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Models/Product.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
class Product extends Model
{
protected $entity = 'products';
protected $primaryKey = 'id';
protected $primaryKey = 'sku';
}

0 comments on commit 06f23e7

Please sign in to comment.