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

Pint renames relation in model. #329

Open
JordanchoEftimov opened this issue Jan 5, 2025 · 0 comments
Open

Pint renames relation in model. #329

JordanchoEftimov opened this issue Jan 5, 2025 · 0 comments

Comments

@JordanchoEftimov
Copy link

Pint Version

1.18.3

PHP Version

8.1

Description

If you have a relation that starts with the word "test," like testQuestions in my case, Laravel automatically converts it to test_questions. I assume this happens due to the naming conventions used for tests.

Steps To Reproduce

Screen.Recording.2025-01-05.at.12.14.25.mov
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

No branches or pull requests

1 participant