changing dev database to postgresql