Updated config/database.yml to work on older versions of psql.