private function checkType($columnName, array $attrs) {
        if (in_array(strtolower($attrs['type']), array('string', 'referencemany'))) {
            return (isset($attrs['attrs']['size']) && strtolower($attrs['type']) !== 'referencemany') ? 'VARCHAR' : 'TEXT';
        }
        return strtoupper($attrs['type']);
    }
private function checkType($columnName, array $attrs) {
        if (in_array(strtolower($attrs['type']), array('string', 'referencemany'))) {
            return (isset($attrs['attrs']['size']) && strtolower($attrs['type']) !== 'referencemany') ? 'VARCHAR' : 'TEXT';
        }
        return strtoupper($attrs['type']);
    }
private function checkType ( $ columnName , array $ attrs ) { if ( in_array ( strtolower ( $ attrs [ 'type' ] ) , array ( 'string' , 'referencemany' ) ) ) { return ( isset ( $ attrs [ 'attrs' ] [ 'size' ] ) && strtolower ( $ attrs [ 'type' ] ) !== 'referencemany' ) ? 'VARCHAR' : 'TEXT' ; } return strtoupper ( $ attrs [ 'type' ] ) ; }
Checks the column type to ensure it has required settings
@param string $columnName
@param array $attrs
@return string The type column it is
Checks the column type to ensure it has required settings