IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 24, 2013, 4:54:58 PM (13 years ago)
Author:
bills
Message:

define relStack table
add ippRelease.priority
Change ippRelease.state to ippRelease.release_state

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dbconfig/changes.txt

    r34911 r35048  
    22822282    surveyID    INT(8),
    22832283    releaseName VARCHAR(64),
    2284     state      VARCHAR(16),    -- active, pending archive drop
     2284    release_state VARCHAR(16),    -- active, pending archive drop
    22852285    dataRelease INT(8),         -- PSPS dataRelease
    22862286    PRIMARY KEY(rel_id),
     
    23122312) ENGINE=innodb DEFAULT CHARSET=latin1;
    23132313
     2314CREATE TABLE relStack (
     2315    relstack_id BIGINT AUTO_INCREMENT,
     2316    rel_id      INT(8),
     2317    skycal_id   BIGINT,         -- id of the sky calibration run that supplied the calibration
     2318                                -- for this release. We get back to stack from here
     2319    skycell_id  varchar(64),
     2320    tess_id     varchar(64),
     2321    state       VARCHAR(16),    -- released, pending, archive, drop 
     2322    flags       INT UNSIGNED,
     2323    stack_type  VARCHAR(16),    -- nightly, deep, reference
     2324    zpt_obs     FLOAT,          -- calibrated zero point for this release of this skycell
     2325    zpt_stdev   FLOAT,
     2326    fwhm_major  FLOAT,          -- seeing as measured by staticsky
     2327    path_base   VARCHAR(255),   -- path_base of any supporting files,
     2328    registered  DATETIME,
     2329    time_stamp  DATETIME,
     2330    PRIMARY KEY (relstack_id),
     2331    KEY (tess_id, skycell_id),
     2332    KEY (rel_id, tess_id, skycell_id),
     2333    FOREIGN KEY(rel_id) REFERENCES ippRelease(rel_id),
     2334    FOREIGN KEY(skycal_id) REFERENCES skycalRun(skycal_id)
     2335) ENGINE=innodb DEFAULT CHARSET=latin1;
     2336
    23142337UPDATE dbversion set schema_version = '1.1.74', updated= CURRENT_TIMESTAMP();
Note: See TracChangeset for help on using the changeset viewer.