msawczyn/EFDesigner

Unique index not generated

ddewaleffe opened this issue · 4 comments

Wanted a unique index on a string column[25], so selected both Indexed and unique index to true.
Index is created but the unique info seems to be ignored.

D.

Found where the output was missing in the EF6 template and am adding that.

Did you see this behavior in EFCore or EF6? If the former, that's a problem -- code to emit that is in EFCoreDesigner.ttinclude lines 276-292.

Phew. Good. Then I fixed it. Thanks for bringing it to my attention. Can't figure how I missed adding that.

It's in github now, and will be in the next release, as soon as I get some pull requests looked at and merged.

Fixed in v1.2.3