gorm icon indicating copy to clipboard operation
gorm copied to clipboard

Support `unique` and `uniqueIndex` together on the same field.

Open ihucos opened this issue 2 years ago • 0 comments

Describe the feature

Allow uniqueIndex and index struct tags to be used at the time. At the moment it seems I can do one or the other, but not both.

Motivation

SQL supports this, so I expect gorm to support it. I need it for my software.

Related Issues

ihucos avatar Jun 06 '22 12:06 ihucos