-
-
Notifications
You must be signed in to change notification settings - Fork 803
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
Generate Scaffold from table fails writing PHPDocType because relations #457
Labels
Comments
+1 |
+1 |
same problem |
I will be working on this soon and will try to get this out this weekend. |
mitulgolakiya
added a commit
that referenced
this issue
Aug 19, 2017
mitulgolakiya
added a commit
that referenced
this issue
Aug 19, 2017
mitulgolakiya
added a commit
that referenced
this issue
Aug 19, 2017
mitulgolakiya
added a commit
that referenced
this issue
Aug 19, 2017
@casivaagustin @dhcmega just fixed the issue. Get the latest code and let me know if you face any problem. |
working. thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have this table
That has a relationship to users with the user_id field.
I'm trying to generate the scaffold for that table with this command
artisan infyom:scaffold Device --fromTable --tableName=devices
And I'm getting this error
Doing a little of research I have this trace
Looking into the getPHPDocType method i see this line
Doing a var_dump over relation to see what is having I got this
As you can see there is no element 1.
I can not get more information to solve this issue, not sure why is expecting something in the position 1.
Hope the information helps to solve this issue.
Regards
The text was updated successfully, but these errors were encountered: