在sequelize when delete with destroy()方法中,当一个表与另一个表有关联时,与来自数据库的父表相关联的条目被正确删除,但我仍然收到这个错误"Error dropping: Error: ER_ROW_IS_REFERENCED: Cannot delete or update a parent row: A foreign key constraint“
我有一个表table1,它有一个状态字段,其值'active‘、’active‘的类型为enum。我有另一个表table2,它有一个状态字段,其值为'active‘、’active‘的类型为enum。"operator does not exist: \"enum_table1_status\" = \"enum_table2_status\""
我想要的