Fixing SQL to be compatible with PostgreSQL
Merge branch 'master' of git://github.com/FoolCode/FoolFuuka