One of the most pivotal features that I’ve been both overthinking in terms of how complex it will need to be, and as a result procrastinating is version history.
If we can’t track what job site tools were assigned to last, if things turn up missing, that lack of historical data eliminates half of the usefulness of a program like this.
From a business perspective, here are the important details:
- When a new tool is created, a matching record is created in a separate database collection with its initial value.
- When that tools data is changed, after the change is submitted successfully, the old record is added to the list of previous records for that tool, and both have their version flag incremented by 1.
- On the “Edit Tool” page, a table is shown that lists the edit history of that tool. Currently, there isn’t a limit on how many entries can populate and it does not paginate.
- This may need to be considered once we have some test data.
