IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 15, 2009, 5:28:09 PM (17 years ago)
Author:
Paul Price
Message:

Adding script to do the actual publishing to DataStore. Decided to bundle all components into the same script (we're working with detections, it's serial, should be fast) to simply things (can remove the 'advance' mode for pubtool). Everything compiles, not tested yet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pap_mops/ippTools/share/pxadmin_create_tables.sql

    r24377 r24427  
    13741374CREATE TABLE publishClient (
    13751375    client_id BIGINT AUTO_INCREMENT, -- unique identifier
     1376    product VARCHAR(64),             -- product name
     1377    stage VARCHAR(64) NOT NULL, -- stage of interest (chip, camera, diff, etc.)
    13761378    comment VARCHAR(255),            -- for human memory
    1377     stage VARCHAR(64) NOT NULL, -- stage of interest (chip, camera, diff, etc.)
    1378     format VARCHAR(64),              -- format of data
    1379     destination VARCHAR(255) NOT NULL, -- where to send data
    13801379    PRIMARY KEY(client_id)
    13811380) ENGINE=innodb DEFAULT CHARSET=latin1;
     
    13861385    client_id BIGINT NOT NULL,  -- link to publishClient
    13871386    stage_id BIGINT NOT NULL,   -- link to various stage tables
     1387    workdir VARCHAR(255) NOT NULL, -- working directory
    13881388    label VARCHAR(64),          -- label for run
    13891389    state VARCHAR(64),          -- state of run (new, full, etc.)
     
    13971397
    13981398-- Publishing a file within a set
    1399 CREATE TABLE publishFile (
     1399CREATE TABLE publishDone (
    14001400    pub_id BIGINT AUTO_INCREMENT, -- link to publishRun
    1401     component VARCHAR(64),        -- analagous to class_id or skycell_id
     1401    path_base VARCHAR(255),     -- base path of output
    14021402    fault SMALLINT NOT NULL DEFAULT 0, -- Fault code
    1403     PRIMARY KEY(pub_id, component),
    1404     KEY(component),
     1403    PRIMARY KEY(pub_id),
    14051404    KEY(fault),
    14061405    FOREIGN KEY(pub_id) REFERENCES publishRun(pub_id)
Note: See TracChangeset for help on using the changeset viewer.