change localhost db to postgresql and add database.yml to ignore