Fixing upgrade script on tracker with MySQL 5.6.20