Para remover dados de uma entidade diretamente na base, execute os seguintes comandos. (Ainda falta algumas tabelas que geram dependência)
DELETE FROM ams_grade_item WHERE entity=?;
DELETE FROM ams_enrol_offer WHERE entity=?;
DELETE FROM ams_offer_classe WHERE entity=?;
DELETE FROM ams_offer_discipline WHERE entity=?;
DELETE FROM ams_offer WHERE entity=?;
DELETE FROM ams_curriculum_discipline WHERE entity=?;
DELETE FROM ams_curriculum_section WHERE entity=?;
DELETE FROM ams_curriculum WHERE entity=?;
DELETE FROM ams_course WHERE entity=?;
DELETE FROM ams_discipline WHERE entity=?;