thisissvikas / shop-keeper

1 stars 0 forks source link

Product Management Service - Schema Design #4

Closed thisissvikas closed 3 years ago

thisissvikas commented 3 years ago

Problem Statement

Decide the database and design the schema for product resources.

Acceptance Criteria

child of: https://github.com/krvikas1011/shop-keeper/issues/2

shubhaangi04 commented 3 years ago

Database Technology:

SQL

MySQL vs PostgreSQL

thisissvikas commented 3 years ago

@shubhaangi04 Too abstract. It will make more sense if you write in terms of this service and then draw the advantages of the choices made.

shubhaangi04 commented 3 years ago

In the product management service, we are clear of the fields that we will be requiring like the product ID, name, price, category, description, specification, etc. and these fields will be common across all the products. The product specification field will be different for each product's category, thus we can use the JSON data type provided by MySQL.