Adding crop_failure to database

Adding functionality around crop failures.