How does migrations handle the same row twice?

Topics: Customizing Orchard, Writing modules
Apr 23, 2013 at 10:29 AM
Edited Apr 23, 2013 at 10:29 AM
Let's say that I have the following function in my migrations.cs
UpdateFrom2()
{
    //Add a kolumn somewhere called "test"
    return 3;
}
Then me and my project group has some merging issues and the following happens
UpdateFrom2()
{
    //Add a kolumn somewhere called "test"
    return 3;
}

UpdateFrom3()
{
    //Add a kolumn somewhere called "test"
    //Do some other stuff
    return 4;
}
What will happen here?
Will the migration crash and rollback my "Do some other stuff" changes, or will it just ignore that the "test" kolumn showed up again, and just continue with the other changes?

Thanks in advance! :)
Coordinator
Apr 24, 2013 at 3:27 AM
I don't see a problem here.