orkeren21 / Plan2Go-Backend

Backend Repository for Plan2Go Travel planner
1 stars 0 forks source link

Redesign database table architecture #13

Open orkeren21 opened 7 years ago

orkeren21 commented 7 years ago

redesign the database table architecture to use noSQL design patterns rather than thinking "relational db"

orkeren21 commented 7 years ago

Redesigned the DB structure to fit de-normalization design pattern of noSQL Databases.

Plans now has a list of Events. This is in addition to each event having its own item in the Events Table. This means that we have some duplicate data between items, however retrieval is very fast.

Need to rethink keys for Events table, as it seems we need an EventsID to be a primary key here