fix ue integer float r error
This commit is contained in:
@@ -100,7 +100,7 @@ func init() {
|
||||
// ue.PasswordValidator is a validator for the "password" field. It is called by the builders before save.
|
||||
ue.PasswordValidator = ueDescPassword.Validators[0].(func(string) error)
|
||||
// ueDescCreatedAt is the schema descriptor for created_at field.
|
||||
ueDescCreatedAt := ueFields[18].Descriptor()
|
||||
ueDescCreatedAt := ueFields[21].Descriptor()
|
||||
// ue.DefaultCreatedAt holds the default value on creation for the created_at field.
|
||||
ue.DefaultCreatedAt = ueDescCreatedAt.Default.(func() time.Time)
|
||||
userFields := schema.User{}.Fields()
|
||||
|
Reference in New Issue
Block a user