nickolasjadams / megalavania

Special Order Form SAAS Project
0 stars 0 forks source link

database migrations, added b2b, changed selected_brands to brand_user #25

Closed DarrylHardin closed 3 years ago

DarrylHardin commented 3 years ago

So there is apparently no getting around the database change so I'll try to make this pull as clear as I can.

The table selected_brands is being removed, the table that is taking it's place is brand_user (even though the compare below shows a different table is taking it's spot, this shouldn't be an issue because it's all there.)

I also added some columns and commented next to them to explain why they are there. Foreign Keys are also changed from the unsignedbigints function to foreignId() in order to follow Laravel standards, this should make using the facade DB easier and something we can use across all of our database tables.

closes #16

This is the final pull request, I swear! ... probably