<commit_before>class CreateLabViewerLabs extends edu.northwestern.bioinformatics.bering.Migration {
    void up() {
        execute('drop sequence seq_labviewer_labs_id');
        execute('drop TABLE labviewer_labs');
        
        createTable("labs") { t ->
            t.addVersionColumn()
            t.addColumn("name", "string", nullable:false)
            t.addColumn("lab_date", "date")
            t.addColumn("result", "string")
            t.addColumn("units", "string")
            t.addColumn("assignment_id", "integer", nullable:false)
            t.addColumn("dismissed", "boolean", nullable:false)
            t.addColumn("grid_id" , "string" , nullable:true)
            
        }  
        execute('ALTER TABLE labs ADD CONSTRAINT fk_sp_assignment_id FOREIGN KEY (assignment_id) REFERENCES participant_assignments');
      
    }<commit_msg>Updated caaers war with groovy fix for oracle.<commit_after>class CreateLabViewerLabs extends edu.northwestern.bioinformatics.bering.Migration {
    void up() {
        execute('drop TABLE labviewer_labs');
        
        createTable("labs") { t ->
            t.addVersionColumn()
            t.addColumn("name", "string", nullable:false)
            t.addColumn("lab_date", "date")
            t.addColumn("result", "string")
            t.addColumn("units", "string")
            t.addColumn("assignment_id", "integer", nullable:false)
            t.addColumn("dismissed", "boolean", nullable:false)
            t.addColumn("grid_id" , "string" , nullable:true)
            
        }  
        execute('ALTER TABLE labs ADD CONSTRAINT fk_sp_assignment_id FOREIGN KEY (assignment_id) REFERENCES participant_assignments');
      
    }
{'fraction_non_alphanumeric': 0.11992945326278659, 'fraction_numerical': 0.0, 'mean_word_length': 2.5756302521008405, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3753276', 'n_tokens_mistral': 514, 'n_tokens_neox': 498, 'n_words': 92}