I'm trying to set up a foreign key in the table [tblPIRlog] (the field is called "UIDcompany"). The FK is a Primary Key in the table [tblmycompanies]. The PK field is called "UIDmycompany". When I try to Apply the change in MySQLWorkbench, I get the following error.
https://menoo.org/mysql/2019-09-10%2014_08_24-MySQL%20Workbench.png
The tables look like this:
https://menoo.org/mysql/2019-09-10%2014_07_25-Synchronize%20Model%20with%20Database.png
https://menoo.org/mysql/2019-09-10%2014_08_24-MySQL%20Workbench.png
The tables look like this:
https://menoo.org/mysql/2019-09-10%2014_07_25-Synchronize%20Model%20with%20Database.png