Pivot Tables for Many to Many Relationships

When you have a many-to-many relationship you typically rely on a join table, or what Vapor calls a Pivot table to relate the records together. In this episode we will create a relationship to allow an issue to have many tags, and also allow a tag to apply to many issues. We'll see how we can use Vapor's ModifiablePivot and Sibling types to make working with these relationships easier.

This is a companion discussion topic for the original entry at https://nsscreencast.com/episodes/371-vapor-pivot