fixed the mysql error
Merge pull request #1 from aeolu/master

Fixed the errors on the base schema