Skip to content

Set up Project<->Build Eloquent relationship#1756

Merged
williamjallen merged 1 commit intoKitware:masterfrom
williamjallen:project-build-relationship
Oct 23, 2023
Merged

Set up Project<->Build Eloquent relationship#1756
williamjallen merged 1 commit intoKitware:masterfrom
williamjallen:project-build-relationship

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 force-pushed the project-build-relationship branch from 1116f87 to ec5d334 Compare October 23, 2023 14:26
@williamjallen williamjallen force-pushed the project-build-relationship branch from ec5d334 to fc33d43 Compare October 23, 2023 15:43
@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
@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

Comments