multi vendor e-commerce database

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


multi vendor e-commerce database



In my database i have several tables including : AppUsers, Orders, Products



I want user be able to sell and buy products and I want users be able to buy shop's products as well (which wont have a user as seller, i.e. seller should be null) and there is also OrderStatus which defines status of a order.



My question is, shall I use 'Orders' table to store who is seller and buyer and status and other info or I shall create another table?



Please help me find best database schema for this situation.



Thanks.









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Visual Studio Code: How to configure includePath for better IntelliSense results

Spring cloud config client Could not locate PropertySource

Makefile test if variable is not empty