Sequelizeにて以下のエラー。
SequelizeDatabaseError: ER_TRUNCATE_ILLEGAL_FK: Cannot truncate a table referenced in a foreign key constraint (`test`.`test_table`, CONSTRAINT `test_table_ibfk_3` FOREIGN KEY (`operated_by`) REFERENCES `test`.`users` (`id`))
mysqlに接続して、一時的にforeign keyを外す。
mysql> SET GLOBAL foreign_key_checks = 0;
あとで、
mysql> SET GLOBAL foreign_key_checks = 1;
して元に戻す。