Fix Doctrine Adapter (syntax error on PostgreSQL)

"`version`"  is not supported on PostgreSQL.
Merge pull request #49 from okinaka/master

Fix Doctrine Adapter (syntax error on PostgreSQL)