DELETE FROM `applications_versions` WHERE application_id = 60;
DELETE FROM `appversions` WHERE application_id = 60;
DELETE FROM `appsupport` WHERE app_id = 60;

DELETE FROM `file_uploads` WHERE compat_with_app_id = 60;
DELETE FROM `applications_versions` WHERE application_id = 60;
DELETE FROM `appversions` WHERE application_id = 60;
DELETE FROM `appsupport` WHERE app_id = 60;

Fix migration 942: file_uploads can have a FK to the rows we're deleting
Fix migration 942: file_uploads can have a FK to the rows we're deleting
