DELETE FROM django_migrations WHERE app='lab'; DELETE FROM auth_permission WHERE content_type_id in (SELECT id FROM django_content_type WHERE app_label='lab'); DELETE FROM django_admin_log WHERE content_type_id in (SELECT id FROM django_content_type WHERE app_label = 'lab'); DELETE FROM reversion_version WHERE content_type_id in ( SELECT id FROM django_content_type WHERE app_label = 'lab' ); DELETE FROM django_content_type WHERE app_label='lab'; DROP TABLE lab_labtest CASCADE; DROP TABLE lab_labtest_resistant_antibiotics CASCADE; DROP TABLE lab_labtest_sensitive_antibiotics CASCADE; DROP TABLE lab_observation CASCADE;