gorm
gorm copied to clipboard
Support `unique` and `uniqueIndex` together on the same field.
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.