Add's an exported anonymous function to makeProductTypeTable.js which creates the product table using the productTypes.json.
Related Ticket(s)
Finished Issue #40 (Create Product_Types table)
Expected Behavior
When you require in makeProductTypeTable.js it should export a function that when you call creates a Product_Types database with pertinent information.
Steps to Test Solution
Run npm run db:generate
Open db/api-sprint.sqlite in your database browser of choice and check if Product_Types exists and has the correct data in the right column, using the ERD to check.
Description
Add's an exported anonymous function to makeProductTypeTable.js which creates the product table using the productTypes.json.
Related Ticket(s)
Finished Issue #40 (Create Product_Types table)
Expected Behavior
When you require in makeProductTypeTable.js it should export a function that when you call creates a Product_Types database with pertinent information.
Steps to Test Solution
npm run db:generate