* fix the error of db.
 * fix the error of sql.
Merge branch 'master' of git@github.com:xirang/xirangeps
Merge branch 'master' of git@github.com:xirang/xirangeps
 * adjust the upgrade program.
 * upgrade to 1.2.
 * change the default version to 1.1.
 * after install, save the version.
 * upgrade to 1.2.
Merge branch 'master' of git@github.com:xirang/xirangeps
Merge branch 'master' of git@github.com:xirang/xirangeps