I am making a small database on a process which involves loading a product on a machine, unloading after a minimum time. Reloading is also possible of once loaded item.
When a product is loaded on a machine, user name, machine ID, date is inserted. This seems doable but what if this product is unloaded, how that transaction should be done.
How many tables for the above should be made? Should I make loading table, unloading table etc or only a single table in which status changes for a particular product ID. But I also need to track when and for how much time the product was loaded.
In above question, I already have supporting tables, I need to understand about loading/unloading/reloading transaction.
I need help basically on structure and table design.
All help well appreciated.
With regards.
When a product is loaded on a machine, user name, machine ID, date is inserted. This seems doable but what if this product is unloaded, how that transaction should be done.
How many tables for the above should be made? Should I make loading table, unloading table etc or only a single table in which status changes for a particular product ID. But I also need to track when and for how much time the product was loaded.
In above question, I already have supporting tables, I need to understand about loading/unloading/reloading transaction.
I need help basically on structure and table design.
All help well appreciated.
With regards.