IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 35153


Ignore:
Timestamp:
Feb 12, 2013, 4:22:03 PM (13 years ago)
Author:
bills
Message:

remove warpBackgroundRun.alt_cam_label add chipBackgroundRun.cam_id and modify relStack to
include stack_id but not require skycal_id

File:
1 edited

Legend:

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

    r35150 r35153  
    17921792    chip_bg_id BIGINT AUTO_INCREMENT, -- unique identifier
    17931793    chip_id BIGINT NOT NULL,          -- link to chipRun
     1794    cam_id BIGINT DEFAULT 0,          -- optional link to camRun
    17941795    state VARCHAR(64) NOT NULL,       -- state of run (new, full, etc.)
    17951796    workdir VARCHAR(255) NOT NULL,    -- working directory
     
    18451846    dist_group VARCHAR(64),           -- group for distribution
    18461847    reduction VARCHAR(64),            -- reduction class (for altering recipe)
    1847     alt_cam_label VARCHAR(64),        -- label for alternate version of astrometry (optional)
    18481848    note VARCHAR(255),        -- note
    18491849    registered TIMESTAMP DEFAULT CURRENT_TIMESTAMP, -- time run was registered
     
    21982198    relstack_id BIGINT AUTO_INCREMENT,
    21992199    rel_id      INT(8),
     2200    stack_id    BIGINT,         -- id of the stackRun
    22002201    skycal_id   BIGINT,         -- id of the sky calibration run that supplied the calibration
    2201                                 -- for this release. We get back to stack from here
     2202                                -- for this release of this skycell.
    22022203    skycell_id  varchar(64),
    22032204    tess_id     varchar(64),
     
    22152216    KEY (rel_id, tess_id, skycell_id),
    22162217    FOREIGN KEY(rel_id) REFERENCES ippRelease(rel_id),
    2217     FOREIGN KEY(skycal_id) REFERENCES skycalRun(skycal_id)
     2218    FOREIGN KEY(stack_id) REFERENCES stackRun(stack_id)
    22182219) ENGINE=innodb DEFAULT CHARSET=latin1;
    22192220
Note: See TracChangeset for help on using the changeset viewer.