protected function simplified_type($sql_type) { if (strtolower($sql_type) == 'tinyint(1)') { return 'boolean'; } if (preg_match('/enum/i', $sql_type)) { return string; } return parent::simplified_type($sql_type); }