Run SchemaUpdate again and check that it does not generate the script:

var configuration = CreateConfiguration();
new SchemaUpdate(configuration).Execute(false, true); 
var sb = new StringBuilder(500);
new SchemaUpdate(configuration).Execute(s => sb.Append(s), false);
sb.ToString().Should().Be.Empty();

On Thursday, March 22, 2012 10:23:59 AM UTC-3, Alex Norcliffe wrote:
>
> Hi all
>
> I'd like to write a test that confirms a schema change to an existing 
> database succeeds (namely, adding some indexes to existing tables and a new 
> table) after running SchemaUpdate. 
>
> Does anyone have any learnings to share with this scenario?
>
> Best,
> Alex
>
> Sent from my Windows Phone
>

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/nhusers/-/gFDo_1HZG-YJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to