IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 21, 2013, 1:44:26 PM (13 years ago)
Author:
bills
Message:

tweaks to release tables. Further progress on releasetool

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dbconfig/changes.txt

    r35156 r35196  
    23072307    path_base   VARCHAR(255),   -- path_base of any supporting files for this
    23082308                                -- release of this exposure.
     2309    fault SMALLINT NOT NULL,
    23092310    registered  DATETIME,       -- insertion time for this row
    23102311    time_stamp  DATETIME,       -- time of last update for this row
     
    23122313    FOREIGN KEY(rel_id) REFERENCES ippRelease(rel_id),
    23132314    KEY (state),
     2315    KEY (fault),
    23142316    FOREIGN KEY(exp_id) REFERENCES rawExp(exp_id),
    23152317    FOREIGN KEY(chip_id) REFERENCES chipRun(chip_id),
     
    23232325    skycal_id   BIGINT,         -- id of the sky calibration run that supplied the calibration
    23242326                                -- for this release of this skycell.
    2325     skycell_id  varchar(64),
    2326     tess_id     varchar(64),
     2327    skycell_id  VARCHAR(64),
     2328    tess_id     VARCHAR(64),
     2329    filter      VARCHAR(16),
    23272330    state       VARCHAR(16),    -- released, pending, archive, drop 
    23282331    flags       INT UNSIGNED,
     
    23302333    zpt_obs     FLOAT,          -- calibrated zero point for this release of this skycell
    23312334    zpt_stdev   FLOAT,
    2332     fwhm_major  FLOAT,          -- seeing as measured by staticsky
     2335    mjd_obs     INT UNSIGNED,   -- for nightly stacks the mjd_obs
    23332336    path_base   VARCHAR(255),   -- path_base of any supporting files,
     2337    fault SMALLINT NOT NULL,
    23342338    registered  DATETIME,
    23352339    time_stamp  DATETIME,
    23362340    PRIMARY KEY (relstack_id),
    23372341    KEY (tess_id, skycell_id),
    2338     KEY (rel_id, tess_id, skycell_id),
     2342    KEY (rel_id, tess_id, skycell_id, filter, mjd_obs),
     2343    KEY (stack_type),
     2344    KEY (mjd_obs),
     2345    KEY (state),
     2346    KEY (fault),
    23392347    FOREIGN KEY(rel_id) REFERENCES ippRelease(rel_id),
    23402348    FOREIGN KEY(stack_id) REFERENCES stackRun(stack_id)
     
    23442352ALTER TABLE chipBackgroundRun ADD COLUMN cam_id BIGINT DEFAULT 0 AFTER chip_id;
    23452353
     2354ALTER TABLE skycalResult ADD COLUMN fwhm_major FLOAT AFTER zpt_stdev;
     2355ALTER TABLE skycalResult ADD COLUMN fwhm_minor FLOAT AFTER fwhm_major;
     2356
    23462357UPDATE dbversion set schema_version = '1.1.75', updated= CURRENT_TIMESTAMP();
Note: See TracChangeset for help on using the changeset viewer.