IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 25, 2011, 3:03:32 PM (15 years ago)
Author:
heather
Message:

merging addstar changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dbconfig/changes.txt

    r31038 r31378  
    20572057
    20582058UPDATE dbversion set schema_version = '1.1.69', updated= CURRENT_TIMESTAMP();
    2059 
    2060 
    2061 
     2059ALTER TABLE addRun ADD COLUMN stage VARCHAR(64) AFTER add_id;
     2060ALTER TABLE addRun ADD COLUMN stage_id bigint(20) after stage;
     2061UPDATE addRun set stage_id = cam_id;
     2062
     2063-- these next steps I don't know if it's generic or not. This is how to drop
     2064   the cam_id table in addRun for gpc1
     2065
     2066show create table addRun;
     2067alter table `addRun` drop foreign key `addRun_ibfk_1`, drop column cam_id;
     2068
     2069-- this sets the addRun stage for all the old addRuns to 'cam'
     2070
     2071
     2072--do this update only once, so I'm commenting it out (it's been done)
     2073-- update addRun set stage = 'cam';
     2074
     2075
Note: See TracChangeset for help on using the changeset viewer.