The default build environment of Bitbucket Pipelines
We use MySQL service for testing before deploy
We define Steps which are executed in the order that they appear in pipelines. …
Lots of Developers looking about how to handle hasManyThrough data with Pivot Table. Let me show you a possible solution.
We need to access the Media of the User model through Post & PostMedia. To achieve this we need to define a PostMedia Pivot model class
class PostMedia extends Pivot…