Skip to content

Fixed exception in generating enum column type#196

Open
djunehor wants to merge 5 commits into
Xethron:masterfrom
djunehor:master
Open

Fixed exception in generating enum column type#196
djunehor wants to merge 5 commits into
Xethron:masterfrom
djunehor:master

Conversation

@djunehor

@djunehor djunehor commented Nov 6, 2019

Copy link
Copy Markdown

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