It's a bit har to understand the relationship between the tables from your description.
However this is a little trick that I use to be able to know what I need in my database model.
Lets say I have a books table.
- A book has an author + An author can have many books = One to many
- A book has one format + A format can have many books = One to many
Now to make it a bit more complex (pivot)
- A book can have many authors + An author can have many books = Many to many.
So I suggest you do that with your three tables
- A build can have ??? A ??? can have ? builds and so on.