Closed jack89roberts closed 5 years ago
Needs to be implemented in Azure app.
Create database on Azure.
Copy forecast/harvest data model initially (at least relevant parts)
Create SQLAlchemy representation of model.
Implement upserts - i.e. update if already present, else append.
Schedule database to regularly update from harvest/forecast APIs
Think about snapshots, proposed but not final changes etc.
Users, authentication etc.
Database now fully integrated. Still plenty that can be done r.e. data model, scheduled updates and snapshots, but closing this issue.
See https://github.com/alan-turing-institute/WimbledonPlanner/blob/master/notes/Creating_SQL_Database.md