Remove old version of item_history and no longer needed calculate_inventory_balance database functions