previous_price records to db