IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 18, 2008, 6:39:14 PM (18 years ago)
Author:
eugene
Message:

added ref_det_id, ref_iter references for verify mode and populate as needed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20080918/ippTools/share/pxadmin_create_tables.sql

    r19558 r19609  
    444444    solang_max FLOAT,
    445445    label VARCHAR(64),
    446     parent INT,
     446    ref_det_id BIGINT,
     447    ref_iter INT,
     448    -- parent INT, :: dropping this
    447449    PRIMARY KEY(det_id),
    448450    KEY(det_id),
     
    452454    KEY(state),
    453455    KEY(label),
    454     KEY(parent),
     456    -- KEY(parent), :: dropping this
    455457    INDEX(det_id, iteration))
    456458ENGINE=innodb DEFAULT CHARSET=latin1;
     
    616618    det_id BIGINT,
    617619    iteration INT,
     620    ref_det_id BIGINT,
     621    ref_iter INT,
    618622    exp_id BIGINT,
    619623    class_id VARCHAR(64),
     
    645649    FOREIGN KEY (det_id, iteration, exp_id)
    646650    REFERENCES  detInputExp(det_id, iteration, exp_id),
    647     FOREIGN KEY (det_id, exp_id, class_id)
    648     REFERENCES  detProcessedImfile(det_id, exp_id, class_id),
    649     FOREIGN KEY (det_id, iteration)
     651    -- FOREIGN KEY (det_id, exp_id, class_id)
     652    -- REFERENCES  detProcessedImfile(det_id, exp_id, class_id),
     653    FOREIGN KEY (ref_det_id, ref_iter)
    650654    REFERENCES  detNormalizedExp(det_id, iteration)
    651655) ENGINE=innodb DEFAULT CHARSET=latin1;
Note: See TracChangeset for help on using the changeset viewer.