Swap out party relationship to many-to-many style with pivot table lookups.
Approach
Using eloquent relationships I was able to make the database models conform to a simple PHP syntax, but these will need to be optimized for caching as it generates a large number of database hits.
Need to keep an eye on the indexing required on the pivot table as well to ensure that it's running appropriately.
Lessons Learned
Need to invoke seeders in each test class requiring the seeded data
Pull Request
Fixes #40
Purpose
Swap out party relationship to many-to-many style with pivot table lookups.
Approach
Using eloquent relationships I was able to make the database models conform to a simple PHP syntax, but these will need to be optimized for caching as it generates a large number of database hits.
Need to keep an eye on the indexing required on the pivot table as well to ensure that it's running appropriately.
Lessons Learned