Skip to content

fix(schema): field is only unique when there is one unique index#5974

Merged
jinzhu merged 1 commit intogo-gorm:masterfrom
l33oo:fix_5951
Jan 11, 2023
Merged

fix(schema): field is only unique when there is one unique index#5974
jinzhu merged 1 commit intogo-gorm:masterfrom
l33oo:fix_5951

Conversation

@l33oo
Copy link
Copy Markdown
Contributor

@l33oo l33oo commented Jan 11, 2023

  • Do only one thing
  • Non breaking API changes
  • Tested

What did this pull request do?

fix #5951

User Case Description

@jinzhu jinzhu merged commit baf1afa into go-gorm:master Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MUL unique index always causes field migration

2 participants