Closed felipesaldata closed 2 years ago
Hello, I wanted to make a contribution to this issue. this is what I have in mind about the ER diagram.
int
to improve query performance.customer_id
column to normalize the table.customer_unique_id
column to id
column of type int
.name
and last_name
columns to represent a more realistic environment.order_item_id
column and add quantity
column for normalization.freight_value
column should be updated by quantity
* old value of freight_value
.name_length
and description_length
columns with name
and description
respectively in the products
table and generate random values to simulate a more realistic environment.order_items
ya que pienso que tener 3 llaves foraneas en una sola tabla no es del todo una buena practica.seller_id
y price
correspondientes, estos, podemos agregarlos a la tabla products
.total
para cada orden.Hi team! Atendí algunas de las observaciones y sugerencias. Reconozco que no tengo mucha experiencia con los diagramas ER, entonces no entendí bien qué hacer con las llaves foráneas. Dejo por aquí un archivo editable en donde ya vienen las relaciones que creo pudieran corresponder, partiendo del increíble trabajo que Daniel hizo. Sientánse libres de borrar, mover, corregir, etc. el diagrama. Seguro hay mejoras que hacer y mejores herramientas, pero por el momento Excel me sacó del apuro.
Saludos Diagrama ER.xlsx s
Thank you soo much @danieldhats7 and @GabyGO2108 for your contribution, i'll integrate the ER Diagram and your suggestions to the project_technology.md at the main branch.
With this properties clear we can create the database and make test by queries if the foreing keys at order_items
or the others gave us errors 🦾.
Issue completed, ER diagram chore updated at project_technology.md 🏋🏻♂️
Summary 💡
Determine the structure of the ER Diagram of the project.
Acceptance Criteria