protected function typeEnum(Fluent $column)
    {
        $allowed = array_map(function ($a) {
            return "'{$a}'";
        }, $column->allowed);

        return "varchar(255) check (\"{$column->name}\" in (" . implode(', ', $allowed) . '))';
    }
protected function typeEnum(Fluent $column)
    {
        $allowed = array_map(function ($a) {
            return "'{$a}'";
        }, $column->allowed);

        return "varchar(255) check (\"{$column->name}\" in (" . implode(', ', $allowed) . '))';
    }
protected function typeEnum ( Fluent $ column ) { $ allowed = array_map ( function ( $ a ) { return "'{$a}'" ; } , $ column -> allowed ) ; return "varchar(255) check (\"{$column->name}\" in (" . implode ( ', ' , $ allowed ) . '))' ; }
Create the column definition for an enum type.

@param \Mellivora\Support\Fluent $column

@return string
Create the column definition for an enum type .