How do I add table relations in Navicat without using SQL queries? Is there some kind of wizard or helper to do this?
You can also use er Diagram view
Select database and use it
Click view from menu, then select er Diagram now you can see every table you made
press R so you change select kursor to mode relation
click and drag field (foreign key) from your table to table that reference
Select the table, right click then select Design Table
First go to the Options tab and ensure that your Engine is InnoDB which supports foreign key relationships
Then go to the Foreign keys tab.
Once you add one foreign key save it, so that you resolve any issues that may stop it from being created
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With