So I have an error, when I want to add a foreign key. I added the foreign key in MySQL Workbench with an EER Diagram Model. The lines workbench tries to add are:`
Thanks @imnothuman
In MacOS MySQL Workbench version, you can set the MySQL script version here:
From opened EER Diagram: Model -> Model Options. MySQL tab. Uncheck "Use defaults from global settings". Set version in "Target MySQL Version" input.