changed production database to postgresql