Fixed the model classes so they work on MySQL.
Fixed the model classes so they work on MySQL.

paasmaker/paasmaker,paasmaker/paasmaker,kaze/paasmaker,paasmaker/paasmaker,kaze/paasmaker,paasmaker/paasmaker,kaze/paasmaker,paasmaker/paasmaker,kaze/paasmaker,kaze/paasmaker