Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discuss Operation-Operator Relationship Redundancy and Resolve Source of Truth Issue #2590

Open
Sepehr-Sobhani opened this issue Dec 13, 2024 · 0 comments
Labels

Comments

@Sepehr-Sobhani
Copy link
Contributor

Describe the task

The Operation model has a foreign key relationship with the Operator, but the OperationDesignatedOperatorTimeline table also maintains a relationship between Operation and Operator. This creates redundancy and confusion when determining the current operator assigned to an operation, as there are two potential sources of truth.

We need to discuss:

  • The purpose and necessity of both relationships.
  • How to handle cases where these relationships might conflict.
    Whether we should refactor to rely on one source of truth and its potential impact on the codebase.
  • The feasibility of maintaining the current setup with clear guidelines to reduce confusion.
  • This discussion aims to identify the best approach to ensure clarity and consistency in the relationship between Operation and Operator.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant