Task: Deleting a company deletes its change history
Description
The change history relates to its company, so deleting a company removes its history together with every other record of the company. A test proves that no table keeps a row of a deleted company or of its deleted employees.
Impact
The migration adds the foreign key; a database with change history of companies that no longer exist is set up anew. The history keeps naming an employee whose record was deleted, as it tells of that deletion.