add postgresql configuration in config/database.yml