changing gem to pg db