Fixed database issues, MYSQL syntax error
Merge branch 'master' of https://github.com/LukeM12/sched