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.
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.