mysql schema fixes. thanks go to LoLe
mysql schema fixes. thanks go to LoLe