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

Fixed exception in generating enum column type #196

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

djunehor
Copy link

@djunehor djunehor commented Nov 6, 2019

While using the package for a project, I get this error:

In FieldGenerator.php line 79:
Undefined property: stdClass::$column_name
When I dumped the content of $column, I saw it's this:

stdClass Object
(
[COLUMN_NAME] => status
[COLUMN_TYPE] => enum('UNSET','SELECTED','PASSED','FAILED','PROFILE_CREATED','PROFILE_EDITED')
)
So, I modified that part of the code to be able to set the $column->column_name as $column->COLUMN_NAME and $column->column_type too.

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.

1 participant