diff --git a/schema/schema.go b/schema/schema.go index db2367975..93ccca401 100644 --- a/schema/schema.go +++ b/schema/schema.go @@ -298,7 +298,7 @@ func ParseWithSpecialTableName(dest interface{}, cacheStore *sync.Map, namer Nam } field.HasDefaultValue = true - field.AutoIncrement = true + field.AutoIncrement = false } } }