Skip to content

Commit

Permalink
fix autoincrement
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangleitao committed Oct 18, 2024
1 parent deceebf commit 00103c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schema/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ func ParseWithSpecialTableName(dest interface{}, cacheStore *sync.Map, namer Nam
}

field.HasDefaultValue = true
field.AutoIncrement = true
field.AutoIncrement = false
}
}
}
Expand Down

0 comments on commit 00103c4

Please sign in to comment.