Skip to content

Commit 00103c4

Browse files
author
zhangleitao
committed
fix autoincrement
1 parent deceebf commit 00103c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

schema/schema.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ func ParseWithSpecialTableName(dest interface{}, cacheStore *sync.Map, namer Nam
298298
}
299299

300300
field.HasDefaultValue = true
301-
field.AutoIncrement = true
301+
field.AutoIncrement = false
302302
}
303303
}
304304
}

0 commit comments

Comments
 (0)