Skip to content

Commit

Permalink
explicit add pivot table
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgergo committed Mar 26, 2024
1 parent 7af0225 commit 9441433
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Models/Attachment.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,11 @@ class Attachment extends MorphPivot
'collection',
'meta',
];

/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'root_mediables';
}

0 comments on commit 9441433

Please sign in to comment.