add ks-iam and ks-apigateway
Signed-off-by: hongming <talonwan@yunify.com>
This commit is contained in:
2
vendor/github.com/jinzhu/gorm/callback_create.go
generated
vendored
2
vendor/github.com/jinzhu/gorm/callback_create.go
generated
vendored
@@ -59,7 +59,7 @@ func createCallback(scope *Scope) {
|
||||
|
||||
for _, field := range scope.Fields() {
|
||||
if scope.changeableField(field) {
|
||||
if field.IsNormal {
|
||||
if field.IsNormal && !field.IsIgnored {
|
||||
if field.IsBlank && field.HasDefaultValue {
|
||||
blankColumnsWithDefaultValue = append(blankColumnsWithDefaultValue, scope.Quote(field.DBName))
|
||||
scope.InstanceSet("gorm:blank_columns_with_default_value", blankColumnsWithDefaultValue)
|
||||
|
||||
Reference in New Issue
Block a user