Changing database test and development to postgresql