Sometimes, it tries to clean a table before the one it references causing constraints violation.
ER_ROW_IS_REFERENCED_2: Cannot delete or update a parent row: a foreign key constraint fails (`Company`.`data_datalogger`, CONSTRAINT `fk17` FOREIGN KEY (`id_brand_datalogger`) REFERENCES `brand_datalogger` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION)
Sometimes, it tries to clean a table before the one it references causing constraints violation.
Is there a way to manage the order of cleaning?