<commit_before>//
//  RecoveryPreparation.swift
//  SmartCollaborationVapor
//
//  Created by <NAME> on 11/05/2017.
//
//

import Vapor
import Fluent

struct RecoveryPreparation: Preparation {
    
    static func prepare(_ database: Database) throws {
        try database.modify("recoverytrackers", closure: { name in
            name.string("injury_name", length: 150, optional: false, unique: false, default: nil)
        })
    }
    
    static func revert(_ database: Database) throws {
        
    }
}<commit_msg>prepartation for recovery<commit_after>//
//  RecoveryPreparation.swift
//  SmartCollaborationVapor
//
//  Created by <NAME> on 11/05/2017.
//
//

import Vapor
import Fluent

struct RecoveryPreparation: Preparation {
    
    static func prepare(_ database: Database) throws {
        try database.modify("recoverytrackers", closure: { name in
            name.string("injury_name", length: 150, optional: false, unique: false, default: "Hamstring")
        })
    }
    
    static func revert(_ database: Database) throws {
        try database.delete("recoverytrackers")
    }
}
{'fraction_non_alphanumeric': 0.1115140525838622, 'fraction_numerical': 0.019945602901178604, 'mean_word_length': 2.820069204152249, 'pattern_counts': {'":': 0, '<': 5, '<?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': '2961093', 'n_tokens_mistral': 356, 'n_tokens_neox': 317, 'n_words': 86}