.. include:: /Includes.rst.txt .. _task-1791653000: ============================================================= Task: The core relates its records to companies and employees ============================================================= 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 ====== 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. .. index:: Database, package:adsum-core