forked from bittercoder/Migrator.NET
-
-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
Description
On SQL Server and may be on others as well a unique index is created if using ColumnProperty.Unique.
If the ColumnProperty.Unique is removed by changing the column using ChangeColumn(), the unique index is not removed.
This one is tricky since it could remove an index that was intended and that matches the naming pattern used in ChangeColumn().
Line 39 in 00fbba4
| [Test, Ignore("This issue is not yet fixed. See https://github.com/dotnetprojects/Migrator.NET/issues/132")] |
=> Remove Ignore in test after fix
| AddUniqueConstraint(string.Format("UX_{0}_{1}", table, column.Name), table, [column.Name]); |