IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 10, 2009, 5:49:03 PM (17 years ago)
Author:
Paul Price
Message:

Defining modes for pubtool and dreamed up workflow. Haven't yet defined SQL or the C code for implementing the modes. Made some changes to the database schema for publishing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pap_mops/dbconfig/changes.txt

    r24376 r24377  
    11321132    client_id BIGINT AUTO_INCREMENT, -- unique identifier
    11331133    comment VARCHAR(255),            -- for human memory
    1134     stage VARCHAR(64),              -- stage of interest (chip, camera, diff, etc.)
     1134    stage VARCHAR(64) NOT NULL, -- stage of interest (chip, camera, diff, etc.)
    11351135    format VARCHAR(64),              -- format of data
    1136     destination VARCHAR(255),        -- where to send data
     1136    destination VARCHAR(255) NOT NULL, -- where to send data
    11371137    PRIMARY KEY(client_id)
    11381138) ENGINE=innodb DEFAULT CHARSET=latin1;
     
    11401140CREATE TABLE publishRun (
    11411141    pub_id BIGINT AUTO_INCREMENT, -- unique identifier
    1142     client_id BIGINT,             -- link to publishClient
    1143     stage_id BIGINT,              -- link to various stage tables
     1142    client_id BIGINT NOT NULL,  -- link to publishClient
     1143    stage_id BIGINT NOT NULL,   -- link to various stage tables
     1144    label VARCHAR(64),          -- label for run
     1145    state VARCHAR(64),          -- state of run (new, full, etc.)
    11441146    PRIMARY KEY(pub_id),
    11451147    KEY(client_id),
    11461148    KEY(stage_id),
     1149    KEY(label),
     1150    KEY(state),
    11471151    FOREIGN KEY(client_id) REFERENCES publishClient(client_id)
    11481152) ENGINE=innodb DEFAULT CHARSET=latin1;
Note: See TracChangeset for help on using the changeset viewer.