change test and production to postgresql