Jira issue originally created by user marijn:
The schematool has a check to see if a field is a string value, this check throws a small error because it passes an object into strtolower instead of a string value. The attached patch calls the method Type->getName() to check if the field is a string.
Comment created by @beberlei:
this shouldnt throw an error, all types have a **toString() method.
Comment created by marijn:
You are right, the issue originated from the SmallIntType class which does not extend the Type class. See the attached patch file.
Comment created by @guilhermeblanco:
Thanks for the patch!
Issue was closed with resolution "Fixed"
Imported 1 attachments from Jira into https://gist.github.com/71f33ff9d5bf6966067a