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

Commit

Permalink
explicit table name
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronpk committed Sep 1, 2018
1 parent 5a6abdd commit 6a3421c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/Follower.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

class Follower extends Pivot {

protected $table = 'followers';

public function profile() {
return $this->belongsTo('\App\Profile');
}
Expand Down

0 comments on commit 6a3421c

Please sign in to comment.