Jira issue originally created by user frecon:
SQLSTATE: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Position(id)' at line 1
The problem seem to be that the create commande creates the following SQL syntax
ALTER TABLE Job ADD FOREIGN KEY (position_id) REFERENCES Position(id);
which doesn't work. If I use the following (added a space between Postion and (id) in the end) it works.
ALTER TABLE Job ADD FOREIGN KEY (position_id) REFERENCES Position (id);
Patch for AbstractPlatform.php attached.
Comment created by @beberlei:
Fixed and merged 2.1.x
Issue was closed with resolution "Fixed"
Imported 4 attachments from Jira into https://gist.github.com/ce912ac76e402434e4b4