change production database to postgresql