Skip to content

Commit

Permalink
fix 122
Browse files Browse the repository at this point in the history
  • Loading branch information
ymakedaq committed Sep 11, 2024
1 parent 81bb914 commit a7dca55
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ func (c CreateTableResult) findTablesIndex() (hasPk bool, uks []KeyDef, keys []K
switch {
case key.PrimaryKey:
hasPk = true
uks = append(uks, key)
case key.UniqueKey:
uks = append(uks, key)
default:
Expand Down

0 comments on commit a7dca55

Please sign in to comment.