Fix production database template