openfoodfoundation/openfoodnetwork — pull request #258 by digital-dreamer (2014-08-30 18:14:51+00:00)
Title: Fix #242 - foreign key constraint error on load_sample_data

Fixes #242 - it was just this one line causing the problem. If we wanted to erase this table, it would be necessary to delete other things first. But the sole purpose of load_sample_data is to load something into the database to test the application, so it doesn't really matter if the user already put something into it.