Changes between Version 2 and Version 3 of HarvestingHistory


Ignore:
Timestamp:
Mar 27, 2011, 11:57:58 PM (13 years ago)
Author:
simonp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HarvestingHistory

    v2 v3  
    3232Database changes: add a !HarvestHistory table with the following structure:
    3333
     34{{{
     35CREATE TABLE HarvestHistory
     36  (
     37    id             int,
     38    harvestDate    varchar(30),
     39    harvesterUuid  varchar(250),
     40    harvesterName  varchar(128),
     41    harvesterType  varchar(128),
     42    deleted        char(1) default 'n' not null,
     43    info           longvarchar,
     44    params         longvarchar,
     45
     46    primary key(id)
     47
     48  );
     49
     50CREATE INDEX HarvestHistoryNDX1 ON HarvestHistory(id);
     51CREATE INDEX HarvestHistoryNDX2 On HarvestHistory(harvesterUuid);
     52CREATE INDEX HarvestHistoryNDX3 ON HarvestHistory(harvestDate);
     53}}}
     54
     55The info field is an XML string of the results of the harvest. The params field is the parameters of the harvester. The params field is present so that a harvester that has been deleted can be restored.
     56
     57 
     58
    3459
    3560