nickolasjadams / megalavania

Special Order Form SAAS Project
0 stars 0 forks source link

Dh/29/create brand control form #32

Open DarrylHardin opened 3 years ago

DarrylHardin commented 3 years ago

Overview

closes #29
With this branch I created a dropdown with the existing categories and allow an end-user to create a new brand. I removed the unique rule from the brands 'name' column just in case a brand can be placed under multiple categories.

I put in checks for if a category id is put into the system that doesn't exist or if the brand_user table already has a row with the user_id and brand_id combination.

I removed timestamps from brand_user table, the way it is updated in laravel it doesn't use timestamps and so there is no reason for those columns.

I also fixed some routes.