change the production database to postgresql