revert
Revert "Revert "table of history""

This reverts commit 1de0f8f12aa4682baa633564e4f0d78a30183dce.

Conflicts:
	SaveHistory.php
fix merge