Update mysql.sql

Changed the last Foreign Key reference to a valid field. Solving errno 150