openaustralia / morph

Take the hassle out of web scraping
https://morph.io
GNU Affero General Public License v3.0
461 stars 74 forks source link

Fix referential integrity part 1 #1044

Closed mlandauer closed 8 years ago

mlandauer commented 8 years ago

When destroying a scraper will now destroy the associated bits and pieces as well. This PR also adds a new rake task to clean up any records associated with deleted scrapers.

There is a second associated PR which adds foreign key constraints to the database once everything is in a better state.

But before touching that we should get the changes here deployed and the rake task run on the production server

henare commented 8 years ago

LGTM, reassigning to you to merge and deploy.

mlandauer commented 8 years ago

Deployed and now running the rake task on the server