fixing postgres database addition