Switching production database to postgres