IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 35156


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

schema version 1.1.75

drop warpBackgroundRun.alt_cam_label
add chipBackgroundRun.cam_id
change relStack to add stack_id and not require skycal_id so that nightly stacks can be released without calibration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dbconfig/changes.txt

    r35148 r35156  
    23202320    relstack_id BIGINT AUTO_INCREMENT,
    23212321    rel_id      INT(8),
     2322    stack_id    BIGINT,         -- id of the stackRun
    23222323    skycal_id   BIGINT,         -- id of the sky calibration run that supplied the calibration
    2323                                 -- for this release. We get back to stack from here
     2324                                -- for this release of this skycell.
    23242325    skycell_id  varchar(64),
    23252326    tess_id     varchar(64),
     
    23372338    KEY (rel_id, tess_id, skycell_id),
    23382339    FOREIGN KEY(rel_id) REFERENCES ippRelease(rel_id),
    2339     FOREIGN KEY(skycal_id) REFERENCES skycalRun(skycal_id)
    2340 ) ENGINE=innodb DEFAULT CHARSET=latin1;
    2341 
    2342 ALTER TABLE warpBackgroundRun ADD COLUMN alt_cam_label VARCHAR(255) AFTER reduction;
     2340    FOREIGN KEY(stack_id) REFERENCES stackRun(stack_id)
     2341) ENGINE=innodb DEFAULT CHARSET=latin1;
     2342
     2343-- Add cam_id to chipBackgroundRun
     2344ALTER TABLE chipBackgroundRun ADD COLUMN cam_id BIGINT DEFAULT 0 AFTER chip_id;
    23432345
    23442346UPDATE dbversion set schema_version = '1.1.75', updated= CURRENT_TIMESTAMP();
Note: See TracChangeset for help on using the changeset viewer.