set foreign_key_checks = on error