---
title: "Task: The core relates its records to companies and employees"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:task-1791653000@main"
source: "Changelog/1.0.0/Task-1791653000-TheCoreRelatesItsRecordsToCompaniesAndEmployees.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Task: The core relates its records to companies and employees {#task-1791653000}

## Description {#description}

Approvals with their rules, substitutes and comments, request comments, dashboards and presets, bonus points,
disciplinary actions, penalties, policies, employee mails and imports, account blocks, company invitations, the
security, e-mail and approval settings, notifications and e-mail deliveries relate to their company and employees, and
the database deletes them with them. Disciplinary actions and the recipients of an employee mail used to outlive their
employee.

## Impact {#impact}

The migration adds the foreign keys and lets the existing ones of disciplinary actions and mail recipients cascade; a
database with records of companies or employees that no longer exist is set up anew.
