Skip to content
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.

Commit

Permalink
Added support for table prefixed primary keys (Fixes #14)
Browse files Browse the repository at this point in the history
  • Loading branch information
lookitsatravis committed Feb 11, 2016
1 parent 18b3b70 commit df31a73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Lookitsatravis/Listify/Listify.php
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ private function bottomItem($except = NULL)
*/
private function primaryKey()
{
return $this->getQualifiedKeyName();
return $this->getConnection()->getTablePrefix() . $this->getQualifiedKeyName();
}

/**
Expand Down

0 comments on commit df31a73

Please sign in to comment.