Home  >  Q&A  >  body text

mysql - Workbench 同步至数据库时如何忽略外键关系

使用 workbench 设计数据库的时候是有外键关系的,但是在导出至真实数据库的时候希望忽略外键关系,请问如何操作?

PHPzPHPz2743 days ago723

reply all(1)I'll reply

  • 怪我咯

    怪我咯2017-04-17 12:07:03

    Find the corresponding foreign key constraint in the constraints of the table and drop the foreign key constraint.
    The existence of constraints is to prevent you from ignoring them. You can only ignore them by deleting the constraints.

    reply
    0
  • Cancelreply