typeCast(field, next) { if (field.type === 'TINY' && field.length === 1) { return field.string() === '1' } else { return next(); } }