Hi guys I'm working on my web based ordering system and we would like to maintain a kind of task history for each of our orders. A hsitory in the sense that we would like to maintain a log of who did what on an order like lets say an order has been entered - we would like to know if the order was acknowledged for an example. Or lets say somebody followed up on the order - etc.
Consider that there are numerous situations like this for each order would it be wise to create a schema on the lines of:
Orders
ID - title - description - date - is_ack - is_follow - ack_by .....
That accounts to a lot of fields - on teh other hand I could have one LongText field called 'history' and fill it with a serialised object holding all the information.
However in the latter case I can't run a query to lets say retrieve all orders that have not been acknowledged and stuff like that. With time requirements woudl change and I would be required to modify it to allow for more detailed tracking and that is why I need to set up a way which would be feasible to scale upon yet I don't want to be restricted on the SQL side too much.
EDIT ===================
So the blob idea has issues then :( but what are my options in this regards. I actually would wish to manage a history of what goes on with an order. Like if someone has:
- Acknowledged the order Followed up on
- the order Attached an email to the
- order Completed a task for the order
- Made a call etc