title: Database design for a particular sales order scenario
body: <p>Please refer to the database design below:</p>
  
  <p><img src="https://i.stack.imgur.com/q3Lhe.jpg" alt="enter image description here"></p>
  
  <p>Consider a scenario where a sales order is created based on the prodcuts in the 'Product' table. But if the price of any product changes, then the price should not be updated in any sales orders created in the past. That price should only be used for new sales orders. What do I need to do to take care of this kinda situation?</p>