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

Default attributes for pivot table during fetching and creating rows. #22825

Closed
wants to merge 1 commit into from
Closed

Conversation

sikhlana
Copy link
Contributor

As per the proposal: laravel/ideas#872.

Added a new method so that default pivot values can be set during fetching and creating rows.

@sisve
Copy link
Contributor

sisve commented Jan 16, 2018

This would need some tests.

@taylorotwell
Copy link
Member

Would need tests and also is on wrong branch. Would go to 5.6.

@sikhlana
Copy link
Contributor Author

@taylorotwell in which test case should I the tests? I am only seeing a "MorphToMany" test. Should I add them there?

Sorry, this is my first time contributing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants