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

[2.x] Use morphs method in migrations #256

Merged
merged 12 commits into from
Apr 22, 2024
Merged

Conversation

dasundev
Copy link
Contributor

This PR improves the code by using the morphs method for polymorphic relationships, replacing the need for billable_id and billable_type columns and the index method. This leads to cleaner, more efficient code with improved maintainability and readability.

@dasundev dasundev closed this Apr 20, 2024
@dasundev dasundev reopened this Apr 20, 2024
@dasundev dasundev closed this Apr 20, 2024
@dasundev dasundev reopened this Apr 20, 2024
@dasundev
Copy link
Contributor Author

Any insights into why the test suite is failing?

cc: @taylorotwell @driesvints

@driesvints
Copy link
Member

Tests fail because you don't have a Paddle API key set up in your GHA. But it's fine.

@dasundev
Copy link
Contributor Author

Got it, thanks!

@taylorotwell taylorotwell merged commit 2dcbcf4 into laravel:2.x Apr 22, 2024
6 of 21 checks passed
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