add ks-iam and ks-apigateway
Signed-off-by: hongming <talonwan@yunify.com>
This commit is contained in:
2
vendor/github.com/jinzhu/gorm/dialect_common.go
generated
vendored
2
vendor/github.com/jinzhu/gorm/dialect_common.go
generated
vendored
@@ -39,7 +39,7 @@ func (commonDialect) Quote(key string) string {
|
||||
}
|
||||
|
||||
func (s *commonDialect) fieldCanAutoIncrement(field *StructField) bool {
|
||||
if value, ok := field.TagSettings["AUTO_INCREMENT"]; ok {
|
||||
if value, ok := field.TagSettingsGet("AUTO_INCREMENT"); ok {
|
||||
return strings.ToLower(value) != "false"
|
||||
}
|
||||
return field.IsPrimaryKey
|
||||
|
||||
Reference in New Issue
Block a user