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/ippTools/share/pxadmin_create_tables.sql

    r24375 r24377  
    13751375    client_id BIGINT AUTO_INCREMENT, -- unique identifier
    13761376    comment VARCHAR(255),            -- for human memory
    1377     stage VARCHAR(64),              -- stage of interest (chip, camera, diff, etc.)
     1377    stage VARCHAR(64) NOT NULL, -- stage of interest (chip, camera, diff, etc.)
    13781378    format VARCHAR(64),              -- format of data
    1379     destination VARCHAR(255),        -- where to send data
     1379    destination VARCHAR(255) NOT NULL, -- where to send data
    13801380    PRIMARY KEY(client_id)
    13811381) ENGINE=innodb DEFAULT CHARSET=latin1;
     
    13841384CREATE TABLE publishRun (
    13851385    pub_id BIGINT AUTO_INCREMENT, -- unique identifier
    1386     client_id BIGINT,             -- link to publishClient
    1387     stage_id BIGINT,              -- link to various stage tables
     1386    client_id BIGINT NOT NULL,  -- link to publishClient
     1387    stage_id BIGINT NOT NULL,   -- link to various stage tables
     1388    label VARCHAR(64),          -- label for run
     1389    state VARCHAR(64),          -- state of run (new, full, etc.)
    13881390    PRIMARY KEY(pub_id),
    13891391    KEY(client_id),
    13901392    KEY(stage_id),
     1393    KEY(label),
     1394    KEY(state),
    13911395    FOREIGN KEY(client_id) REFERENCES publishClient(client_id)
    13921396) ENGINE=innodb DEFAULT CHARSET=latin1;
Note: See TracChangeset for help on using the changeset viewer.