private function schemaApiTypeToPropertyInfoType($type)
    {
        switch ($type) {

          case 'serial':
          case 'int':
              return new Type(Type::BUILTIN_TYPE_INT, true);

          case 'float':
          case 'numeric':
            return new Type(Type::BUILTIN_TYPE_FLOAT, true);

          case 'varchar':
          case 'text':
          case 'blob':
              return new Type(Type::BUILTIN_TYPE_STRING, true);
        }
    }