---
title: "Task: Deleting a company deletes its change history"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:task-1791656735@main"
source: "Changelog/1.0.0/Task-1791656735-DeletingACompanyDeletesItsChangeHistory.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Task: Deleting a company deletes its change history {#task-1791656735}

## Description {#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 {#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.
