fix(core): Correctly cascade deletions in HistoryEntries
BREAKING CHANGE: Deletions of Orders or Customers now cascade to any associated HistoryEntries,
thus preserving referential integrity. This involves a DB schema change which will necessitate
a migration.