IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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

add some keys to release tables to guarentee uniqueuness

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dbconfig/changes.txt

    r35418 r35472  
    24002400) ENGINE=innodb DEFAULT CHARSET=latin1;
    24012401
    2402 UPDATE dbversion set schema_version = '1.1.75', updated= CURRENT_TIMESTAMP();
    2403 
    2404 
    24052402-- new Postage Stamp Request columns
    24062403-- Note: These do not aply to the gpc1 database because the pstamp tables were
     
    24122409-- default to the gpc1 project
    24132410UPDATE pstampRequest SET proj_id = 1;
     2411
     2412-- unique keys for the release tables
     2413
     2414alter table relStack  add unique key (rel_id, tess_id, skycell_id, filter, stack_type, mjd_obs)
     2415alter table relExp add UNIQUE KEY(rel_id, exp_id);
     2416alter table ippRelease add unique key (surveyID, release_name);
     2417
     2418UPDATE dbversion set schema_version = '1.1.75', updated= CURRENT_TIMESTAMP();
Note: See TracChangeset for help on using the changeset viewer.