Project management

Hello, when deleting a project, I get the message attached.

Hello,

The error message you encountered suggests that there is a foreign key constraint violation when attempting to update or delete a record in the « project_project_task » table. This violation occurs because the record you are trying to modify or delete is referenced by another table called « project_project_planning_line » through a foreign key relationship.

More specifically, the key with a value of 6 in the « project_project_task » table is being referenced in the « project_project_planning_line » table. To resolve this issue, you have a few options:

  1. Update the dependent record in the « project_project_planning_line » table to ensure it no longer references the key with a value of 6 in the « project_project_task » table.
  2. Delete the dependent record in the « project_project_planning_line » table if it is no longer needed or can be removed safely.
  3. Modify the foreign key constraint if it is appropriate for your specific scenario.

By taking one of these actions, you can address the foreign key constraint violation and proceed with the desired modifications or deletions in the « project_project_task » table.

If you require any further assistance or have additional questions, please feel free to ask.

Best regards,