{
  blobTablePattern  = "SOGo_$folderId$_blob";
  quickTablePattern = "SOGo_$folderId$_quick";
  extractorClassName= "OCSContactFieldExtractor";

  fields = (
    {
      columnName = c_name;
      sqlType    = "VARCHAR(255)";
      allowsNull = NO;
      isPrimaryKey = YES;
    },
    {
      columnName = c_content;
      sqlType    = "TEXT";
      allowsNull = NO;
      isPrimaryKey = NO;
    },
    {
      columnName = c_creationdate;
      sqlType    = "INT4";
      allowsNull = NO;
      isPrimaryKey = NO;
    },
    {
      columnName = c_lastmodified;
      sqlType    = "INT4";
      allowsNull = NO;
      isPrimaryKey = NO;
    },
    {
      columnName = c_version;
      sqlType    = "INT4";
      allowsNull = NO;
      isPrimaryKey = NO;
    },
    {
      columnName = c_deleted;
      sqlType    = "INT4";
      allowsNull = YES;
      isPrimaryKey = NO;
    }
   );

  quickFields = (
    {
      columnName = c_name;
      sqlType    = "VARCHAR(255)";
      allowsNull = NO;
      isPrimaryKey = YES;
    },
    {
      columnName = c_givenname;
      sqlType    = "VARCHAR(255)";
      allowsNull = YES;
    },
    {
      columnName = c_cn;
      sqlType    = "VARCHAR(255)";
      allowsNull = YES;
    },
    {
      columnName = c_sn;
      sqlType    = "VARCHAR(255)";
      allowsNull = YES;
    },
    {
      columnName = c_screenname;
      sqlType    = "VARCHAR(255)";
      allowsNull = YES;
    },
    {
      columnName = c_l;
      sqlType    = "VARCHAR(255)";
      allowsNull = YES;
    },
    {
      columnName = c_mail;
      sqlType    = "TEXT";
      allowsNull = YES;
    },
    {
      columnName = c_o;
      sqlType    = "VARCHAR(255)";
      allowsNull = YES;
    },
    {
      columnName = c_ou;
      sqlType    = "VARCHAR(255)";
      allowsNull = YES;
    },
    {
      columnName = c_telephonenumber;
      sqlType    = "VARCHAR(255)";
      allowsNull = YES;
    },
    {
      columnName = c_categories;
      sqlType    = "VARCHAR(255)";
      allowsNull = YES;
    },
    {
      columnName = c_component;
      sqlType    = "VARCHAR(10)";
      allowsNull = NO;
    },
    {
      columnName = c_hascertificate;
      sqlType    = "INT4";
      allowsNull = YES;
    },
  );
}
