File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed 
java/io/jenkins/plugins/junit/storage/database Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 55import  java .sql .SQLException ;
66import  javax .sql .DataSource ;
77import  org .flywaydb .core .Flyway ;
8+ import  org .kohsuke .accmod .Restricted ;
9+ import  org .kohsuke .accmod .restrictions .NoExternalUse ;
810
911import  static  hudson .init .InitMilestone .SYSTEM_CONFIG_ADAPTED ;
1012
13+ @ Restricted (NoExternalUse .class )
1114public  class  DatabaseSchemaLoader  {
1215
13-     public   static  boolean  MIGRATED ; 
16+     static  boolean  MIGRATED ; 
1417
1518    @ Initializer (after  = SYSTEM_CONFIG_ADAPTED )
1619    public  static  void  migrateSchema () throws  SQLException  {
Original file line number Diff line number Diff line change 1+ CREATE  INDEX  job_index  ON  caseresults(job);
2+ CREATE  INDEX  job_and_build_index  ON  caseresults(job, build);
3+ 
4+ --  possibly worth adding indexes on the package and on the suite but let's see how this goes
5+ --  any feedback or index contribution welcome
6+ --  and we can remove them if they aren't useful
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments