We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4576e2a commit 8ccd998Copy full SHA for 8ccd998
src/Traits/CanBeFollowed.php
@@ -40,7 +40,7 @@ public function followers()
40
{
41
$table = config('follow.followable_table');
42
$class = \get_class($this);
43
- $userTable = config('follow.user_table', 'users');
+ $userTable = config('follow.users_table_name', 'users');
44
$foreignKey = config('follow.users_table_foreign_key', 'user_id');
45
$tablePrefixedForeignKey = app('db.connection')->getQueryGrammar()->wrap(\sprintf('pivot_followables.%s', $foreignKey));
46
$eachOtherKey = app('db.connection')->getQueryGrammar()->wrap('pivot_each_other');
0 commit comments