IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 37233


Ignore:
Timestamp:
Aug 12, 2014, 2:05:06 PM (12 years ago)
Author:
eugene
Message:

pending should not have uniq on just stage_id, but stack_id+batch_type

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20140717/ippToPsps/config/ippToPspsDbSchema.sql

    r36815 r37233  
    215215  `stage_id` bigint(20) default NULL,
    216216  UNIQUE KEY `a_key` (`box_id`,`stage_id`,`batch_type`),
    217   UNIQUE KEY `stage_id_key` (`stage_id`),
     217  UNIQUE KEY `stage_id_key` (`stage_id`,`batch_type`),
    218218  CONSTRAINT `box_key` FOREIGN KEY (`box_id`) REFERENCES `box` (`id`) ON DELETE CASCADE
    219219) ENGINE=InnoDB DEFAULT CHARSET=latin1;
Note: See TracChangeset for help on using the changeset viewer.