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

Apostolos Papazisis

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store