ClimateCompatibleGrowth / research_index_backend

Provisioning the graph database which forms the backend of the research index
MIT License
0 stars 0 forks source link

Add database migrations #2

Open willu47 opened 7 months ago

willu47 commented 7 months ago

The --initialise argument clears the database and uploads basic data from the included csv files in the data/init folder.

The code does not provide for migrations which allow the database structure to be automatically managed and changes across versions. These should be implemented to provide a more robust way of initialising the database and allowing changes to the database to be rolled back.