IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 8, 2009, 5:09:53 PM (17 years ago)
Author:
eugene
Message:

updates to the addstar stage; modify flatcorr to interact correctly with the addstar stage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/share/pxadmin_create_tables.sql

    r25795 r25816  
    464464    workdir VARCHAR(255),
    465465    workdir_state VARCHAR(64),
     466    reduction VARCHAR(64),
    466467    label VARCHAR(64),
    467468    dvodb VARCHAR(255),
    468     magicked BIGINT,
     469    image_only TINYINT,
    469470    PRIMARY KEY(add_id),
    470471    KEY(add_id),
     
    480481    add_id BIGINT AUTO_INCREMENT,
    481482    dtime_addstar FLOAT,
    482     n_stars INT,
    483483    path_base VARCHAR(255),
    484484    fault SMALLINT NOT NULL,
     
    11821182) ENGINE=innodb DEFAULT CHARSET=latin1;
    11831183
    1184 -- these two tables link the flatcorrRun to the associated chip and camera runs
     1184-- these three tables link the flatcorrRun to the associated chip, camera, and addstar runs
    11851185CREATE TABLE flatcorrChipLink (
    11861186        corr_id BIGINT,
     
    12011201        FOREIGN KEY(chip_id) REFERENCES chipRun(chip_id),
    12021202        FOREIGN KEY(cam_id) REFERENCES camRun(cam_id)
     1203) ENGINE=innodb DEFAULT CHARSET=latin1;
     1204
     1205CREATE TABLE flatcorrAddstarLink (
     1206        corr_id BIGINT,
     1207        cam_id BIGINT,
     1208        add_id BIGINT,
     1209        include TINYINT,
     1210        PRIMARY KEY(corr_id, cam_id, add_id),
     1211        FOREIGN KEY (corr_id)  REFERENCES  flatcorrRun(corr_id),
     1212        FOREIGN KEY (cam_id)  REFERENCES  camRun(cam_id),
     1213        FOREIGN KEY (add_id)  REFERENCES  addRun(add_id)
    12031214) ENGINE=innodb DEFAULT CHARSET=latin1;
    12041215
Note: See TracChangeset for help on using the changeset viewer.