IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 35147


Ignore:
Timestamp:
Feb 11, 2013, 2:51:03 PM (13 years ago)
Author:
watersc1
Message:

Update to try and fit my changes with those Bill has made.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/czw_branch/20130211/dbconfig/changes.txt

    • Property svn:mergeinfo changed (with no actual effect on merging)
    r35146 r35147  
    22672267
    22682268
     2269-- Update camProcessedExp to hold a background_model value
     2270
     2271ALTER TABLE camProcessedExp add column background_model SMALLINT after quality;
     2272UPDATE dbversion set schema_version = '1.1.74', updated= CURRENT_TIMESTAMP();
     2273
     2274
    22692275-- new tables for managing the "release" of ipp data
    22702276
     
    23122318) ENGINE=innodb DEFAULT CHARSET=latin1;
    23132319
    2314 UPDATE dbversion set schema_version = '1.1.74', updated= CURRENT_TIMESTAMP();
    2315 
    2316 -- Update camProcessedExp to hold a background_model value
    2317 
    2318 ALTER TABLE camProcessedExp add column background_model SMALLINT after quality;
     2320CREATE TABLE relStack (
     2321    relstack_id BIGINT AUTO_INCREMENT,
     2322    rel_id      INT(8),
     2323    skycal_id   BIGINT,         -- id of the sky calibration run that supplied the calibration
     2324                                -- for this release. We get back to stack from here
     2325    skycell_id  varchar(64),
     2326    tess_id     varchar(64),
     2327    state       VARCHAR(16),    -- released, pending, archive, drop 
     2328    flags       INT UNSIGNED,
     2329    stack_type  VARCHAR(16),    -- nightly, deep, reference
     2330    zpt_obs     FLOAT,          -- calibrated zero point for this release of this skycell
     2331    zpt_stdev   FLOAT,
     2332    fwhm_major  FLOAT,          -- seeing as measured by staticsky
     2333    path_base   VARCHAR(255),   -- path_base of any supporting files,
     2334    registered  DATETIME,
     2335    time_stamp  DATETIME,
     2336    PRIMARY KEY (relstack_id),
     2337    KEY (tess_id, skycell_id),
     2338    KEY (rel_id, tess_id, skycell_id),
     2339    FOREIGN KEY(rel_id) REFERENCES ippRelease(rel_id),
     2340    FOREIGN KEY(skycal_id) REFERENCES skycalRun(skycal_id)
     2341) ENGINE=innodb DEFAULT CHARSET=latin1;
     2342
    23192343UPDATE dbversion set schema_version = '1.1.75', updated= CURRENT_TIMESTAMP();
    23202344
Note: See TracChangeset for help on using the changeset viewer.