project-icp / bee-pollinator-app

The web application front end for the ICP Pollinator Decision Support Tool 🐝
Apache License 2.0
6 stars 1 forks source link

Clear model results when releasing to production #411

Closed mmcfarland closed 5 years ago

mmcfarland commented 5 years ago

In #410 we upgraded to a new CDL version. Existing Pollination Mapper projects that have saved model results are based on the 2015 version. If a user were to modify or add a new scenario, the results would be intermingled between the two versions.

Clearing out the model results field for saved projects should force a re-run of the model on the next use. This is likely best accomplished via a data migration.