Fixing SQL to work with H2 on PostgreSQL mode
Fixing config for H2 on DEV mode