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

Set up Project<->Build Eloquent relationship #1756

Merged

Conversation

williamjallen
Copy link
Collaborator

This PR introduces Eloquent relationships between the Project model and the Build model.

I used the new relationships to replace a few existing SQL queries in the legacy project model as examples, but by no means did I attempt to locate and refactor every possible place where the relationships can be used. I expect to gradually use them more through my work in other PRs.

@josephsnyder josephsnyder added this pull request to the merge queue Oct 23, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to a conflict with the base branch Oct 23, 2023
@williamjallen williamjallen added this pull request to the merge queue Oct 23, 2023
Merged via the queue into Kitware:master with commit 8dec5f2 Oct 23, 2023
2 checks passed
@williamjallen williamjallen deleted the project-build-relationship branch October 23, 2023 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants