IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 35471 for trunk/ippTools/share


Ignore:
Timestamp:
May 2, 2013, 10:35:12 AM (13 years ago)
Author:
bills
Message:

Forgot to add unique keys

ippRelease UNIQUE KEY(surveyID, release_name)
relExp UNIQUE KEY(rel_id, exp_id)

Fixed name of table relStack
(It was set to relStackTest as a test. That change should not have been committed)

File:
1 edited

Legend:

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

    r35453 r35471  
    21722172    priority    INT,
    21732173    PRIMARY KEY(rel_id),
     2174    UNIQUE KEY(surveyID, release_name),
    21742175    KEY(release_name),
    21752176    KEY(release_state),
     
    21962197    PRIMARY KEY (relexp_id),
    21972198    FOREIGN KEY(rel_id) REFERENCES ippRelease(rel_id),
     2199    UNIQUE KEY(rel_id, exp_id),
    21982200    KEY (state),
    21992201    KEY (fault),
     
    22042206) ENGINE=innodb DEFAULT CHARSET=latin1;
    22052207
    2206 CREATE TABLE relStackTest (
     2208CREATE TABLE relStack (
    22072209    relstack_id BIGINT AUTO_INCREMENT,
    22082210    rel_id      INT,
Note: See TracChangeset for help on using the changeset viewer.