protected function getFieldType(CustomField $field)
    {
        $type  = explode(':', $field->type);
        $where = ['name' => head($type)];
        if (count($type) > 1) {
            $where['type'] = last($type);
        }
        return FieldType::query()->where($where)->firstOrFail(['id']);
    }