Disable foreign key checks when cleaning tables by itkrt2y · Pull Request #3 · DeNA/mysql_rewinder

Summary To prevent foreign key constraint errors when executing DELETE on parent tables where child tables have foreign keys referencing them, we temporarily disable FOREIGN_KEY_CHECKS. Other Infor...