Chapter 5. Refactoring the Data Model
We explored how to model cities and flights in a graph database, and are now able to run queries that return flights and routes for a journey. We also added the capability to book flights to our data model. In this chapter, we will explore how to change the data model to fit new requirements. As we go along, we will explore the following concepts:
- Modifying data model to accommodate business requirements
- Migrating the data from the old model to the new one