Laravel-Challenge-ManyToMany-Olympics
Laravel-Challenge-ManyToMany-Olympics copied to clipboard
completed
Main challange solved without the validation using many to many and pivot table, adding 3 columns to country table to count the medals won by each country using events/listeners
This took me about an hour and a half to complete, I tried to stick with pure laravel, I believe I had some success.
Due to time limitations, I've partially implemented the task. For the rest, I added pseudo code to illustrate the idea. - Added the `country_sport` migration to create this pivot table...
…er solution. My Database seeder worksweird (if gold and silver are equal then most likely bronze medals also will be) Could be something with rand function, but when delete some...