History

This is from the old Postgres Schema and idea of History, it is kept here whilst it is in TODO.

historyDATA TYPE
idINTEGER
record_idINTEGER
change_timeSTRING
old_quantityFLOAT
new_quantityFLOAT

History is a table that automatically logs the change of a record's quantity, to use the 'sum' table.