I am having an issue figuring out a solution to not lose old information.
For example, customers can place many orders. Let's a customer, Mary, makes her 1st order in 2013. Fast-forward to 2014, Mary updates her address and makes a new order. This 2nd order will reflect the new changes, but the 1st order will also. How can I keep the old customer information for the 1st order? Should I create a new customer record whenever a customer updates their information?
Customers
+-----+--------+--------+-------------------+-----------+----------+ | id | fname | lname | address | last_updated | +-----+--------+--------+-------------------+----------------------+ | 1 | mary | jane | 123 some st. | 2014-07-10 01:20:00 | +-----+--------+--------+-------------------+----------------------+
Orders
+----+-------------+---------------------+---------------------+ | id | customer_id | order_date | delivery_date | +----+-------------+---------------------+---------------------+ | 1 | 1 | 2013-04-01 13:00:00 | 2013-04-01 16:00:00 | | 2 | 1 | 2014-07-10 01:30:00 | 2014-07-10 02:00:00 | +----+-------------+---------------------+---------------------+