Currently `joi-sql` outputs enums as `any()` type. https://github.com/TehShrike/joi-sql/blob/master/build.js#L68. As far as I can tell, MySQL enum values can only be a string. https://dev.mysql.com/doc/refman/5.7/en/enum.html#enum-literals) I've switched `yup-sql` to output enums as a `string` type. https://github.com/daytonlowell/yup-sql/blob/master/build.js#L75 Thoughts?
Currently
joi-sqloutputs enums asany()type.https://github.com/TehShrike/joi-sql/blob/master/build.js#L68.
As far as I can tell, MySQL enum values can only be a string.
https://dev.mysql.com/doc/refman/5.7/en/enum.html#enum-literals)
I've switched
yup-sqlto output enums as astringtype.https://github.com/daytonlowell/yup-sql/blob/master/build.js#L75
Thoughts?