且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何使用 phpmyadmin 添加删除级联和更新限制?

更新时间:2023-02-02 23:20:28

在您定义表结构的选项卡中,您将获得列及其属性的列表,并且在下面应该有一个关系视图"链接,它们之间打印视图"和建议表结构".

In the tab where you define the table structure, you get the list of columns and their properties and underneath that there should be a link "relation view", between "print view", and "propose table structure."

这就是你想去的地方,但你必须已经在两个表上创建了索引.此外,您可能需要确保您使用的是 mysql 的 innoDB 存储引擎.

That's where you want to go, but you have to have created the index on both tables already. Also, you might want to make sure you're using mysql's innoDB storage engine.

一张图片价值 1000 字:

Edit : An image is worth 1000 words :