| 
      
            Lines 896-902
          CREATE TABLE `import_records` (
      
      
        Link Here
      
     | 
  
        
          | 896 | 
            CONSTRAINT `import_records_ifbk_1` FOREIGN KEY (`import_batch_id`)  | 
          896 | 
            CONSTRAINT `import_records_ifbk_1` FOREIGN KEY (`import_batch_id`)  | 
        
        
          | 897 | 
                       REFERENCES `import_batches` (`import_batch_id`) ON DELETE CASCADE ON UPDATE CASCADE,  | 
          897 | 
                       REFERENCES `import_batches` (`import_batch_id`) ON DELETE CASCADE ON UPDATE CASCADE,  | 
        
        
          | 898 | 
            KEY `branchcode` (`branchcode`),  | 
          898 | 
            KEY `branchcode` (`branchcode`),  | 
        
          
            
              | 899 | 
                KEY `batch_sequence` (`import_batch_id`, `record_sequence`)  | 
              899 | 
                KEY `batch_sequence` (`import_batch_id`, `record_sequence`),  | 
            
            
               | 
               | 
              900 | 
                KEY `batch_id_record_type` (`import_batch_id`,`record_type`)  | 
            
        
          | 900 | 
          ) ENGINE=InnoDB DEFAULT CHARSET=utf8;  | 
          901 | 
          ) ENGINE=InnoDB DEFAULT CHARSET=utf8;  | 
        
        
          | 901 | 
           | 
          902 | 
           | 
        
        
          | 902 | 
          --  | 
          903 | 
          --  |