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

Cannot use object of type InfyOm\Generator\DTOs\GeneratorOptions as array #67

Open
AlbertoJr789 opened this issue Oct 17, 2023 · 1 comment

Comments

@AlbertoJr789
Copy link

image

How do I solve this ?

@AlbertoJr789
Copy link
Author

Reading the source code I discovered that if I don't check the migration box, I'll get this error.
Which happens on line 460 on laravel-generator\BaseCommand.php

Another error which I get is "can't access property name on null", which happens if I don't add the timestamps fields.
The error ocurrs somewhere in the function generateFields() on laravel-generator\MigrationGenerator.php

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