I'm learning Flask and I decided to build a simple market app. I have two types of users, sellers and buyers. I have created a user class which has two children (buyer, seller). sellers should have this ability to upload some products in order to sell them. Therefore I should create a class which is a child of seller. I think since the relation between user and buyer is on to many, the relation between the product and seller should be many to many.
If I've done something right up until now, how should I create this new table.