IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 20, 2015, 12:32:54 PM (11 years ago)
Author:
bills
Message:

Add 3 new postage stamp tables to the IPP database config.
Note that we don't keep the postage stamp tables in the gpc1 database
so there are no changes listed in dbconfig/changes.txt to update them.
We do that to avoid mistakenly using pstamptool without setting the dbserver to
the system that actually hosts the ippRequestServer database (currently ippc17).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/share/pxadmin_create_tables.sql

    r37885 r38157  
    15111511) ENGINE=innodb DEFAULT CHARSET=latin1;
    15121512
     1513CREATE TABLE pstampUserDomain (
     1514    domainName      VARCHAR(64),
     1515    accessLevel     INT,
     1516    defaultProduct  VARCHAR(255),
     1517    defaultLabel    VARCHAR(64),
     1518    PRIMARY KEY(domainName)
     1519) ENGINE=innodb DEFAULT CHARSET=latin1;
     1520
     1521CREATE TABLE pstampUser (
     1522    userName        VARCHAR(64),
     1523    domainName      VARCHAR(64),
     1524    accessLevel     INT,
     1525    defaultProduct  VARCHAR(255),
     1526    defaultLabel    VARCHAR(64),
     1527    PRIMARY KEY (userName, domainName)
     1528) ENGINE=innodb DEFAULT CHARSET=latin1;
     1529
     1530CREATE TABLE pstampAccessLevel (
     1531    proj_id         BIGINT,
     1532    accessLevel     INT,
     1533    mjd_min         FLOAT DEFAULT 0,
     1534    mjd_max         FLOAT DEFAULT 0,
     1535    PRIMARY KEY (proj_id, accessLevel),
     1536    UNIQUE KEY (proj_id, accessLevel),
     1537    FOREIGN KEY(proj_id) REFERENCES pstampProject(proj_id)
     1538) ENGINE=innodb DEFAULT CHARSET=latin1;
     1539
    15131540CREATE TABLE pstampWebRequest (
    15141541        num BIGINT AUTO_INCREMENT,
Note: See TracChangeset for help on using the changeset viewer.