schambers/fluentmigrator — Issue #203: Delete index expression is not conventional
Author: tommarien
Created: 2011-12-06 10:18:17+00:00
State: open

up;

Create.Schema("Test");

Create.Table("Dummy").InSchema("Test")
.WithColumn("id").AsInt32().Identity()
.WithColumn("name").AsAnsiString(40).Nullable();

Create.Index().OnTable("Dummy").InSchema("Test").OnColumn("name");

down:
Delete.Index().OnTable("Dummy").InSchema("Test").OnColumn("name");

Delete.Table("Dummy").InSchema("Test");

Throws argumentnullexption on delete.index part