fn new(filename: &str, name: &str, number: i32, direction: Direction) -> MigrationFile {
        MigrationFile {
            content: None,
            filename: filename.to_owned(),
            number: number,
            name: name.to_owned(),
            direction: direction
        }
    }
/// Used when getting the info, therefore setting content to None at that point
Used when getting the info, therefore setting content to None at that point
Used when getting the info therefore setting content to None at that point
fn new(filename: &str, name: &str, number: i32, direction: Direction) -> MigrationFile {
        MigrationFile {
            content: None,
            filename: filename.to_owned(),
            number: number,
            name: name.to_owned(),
            direction: direction
        }
    }
fn new ( filename : & str , name : & str , number : i32 , direction : Direction ) -> MigrationFile { MigrationFile { content : None , filename : filename . to_owned ( ) , number : number , name : name . to_owned ( ) , direction : direction } }
Used when getting the info, therefore setting content to None at that point
Used when getting the info therefore setting content to None at that point
filename
&str
name
&str
number
i32
direction
Direction