Bolt\Storage\Database\Schema\Builder\ContentTables::getContentTypeTableColumnType PHP Method

getContentTypeTableColumnType() private method

Certain field types can have single or JSON array types, figure it out.
private getContentTypeTableColumnType ( array $values ) : string
$values array
return string
    private function getContentTypeTableColumnType(array $values)
    {
        // Multi-value selects are stored as JSON arrays
        if (isset($values['type']) && $values['type'] === 'select' && isset($values['multiple']) && $values['multiple'] === 'true') {
            return 'selectmultiple';
        }
        return $values['type'];
    }