Added category to products, also new db dump to include category_id under products Thanks @kristankenney

This commit is contained in:
johnny@pittpc.com
2019-09-28 14:16:16 -04:00
parent bc61b59244
commit 7f8589fed6
5 changed files with 60 additions and 4 deletions

3
db.sql
View File

@@ -502,6 +502,7 @@ CREATE TABLE `products` (
`product_cost` decimal(15,2) NOT NULL,
`product_created_at` datetime NOT NULL,
`product_updated_at` datetime DEFAULT NULL,
`category_id` int(11) NOT NULL,
`company_id` int(11) NOT NULL,
PRIMARY KEY (`product_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
@@ -818,4 +819,4 @@ CREATE TABLE `vendors` (
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2019-09-23 22:21:26
-- Dump completed on 2019-09-28 14:15:08