When I start a project with an agile process where I don't have a complete DER for my database, how I make changes in tables that already have data in production. For example:
Have table costumers products and sales, in the beginning sales table only have the columns id, costumerId, productId and quantity. But in the future we need to change this table, for example add a new column employeeId and that quantity that was integer for float. Can I make this changes on production database or need create an intermediate table for don't touch in real data?
I give a simple example, but think in something bigger, that pass some sprints and nobody see the dependence... How to act in this situation?
Regards!
This is a common problem. There are several approaches, and some of them depend on the DBMS used.
Key tips: