Adding constraints in phpMyAdmin

后端 未结 3 830
暗喜
暗喜 2020-12-17 10:36

I feel like I\'m being stupid, but I can\'t find anywhere on the phpMyAdmin interface to add constraints to foreign keys e.g. CASCADE ON DELETE

I\'ve looked for simi

3条回答
  •  误落风尘
    2020-12-17 10:59

    First, you should have your storage engine as InnoDB. Then select a table and go to 'Structure' tab.

    Under the table you will see 'Relation view', click it. From there you could add constraints.

提交回复
热议问题