Fixed bug where games table wasn't being created properly for new users.
Fixed upgrade code.