add planet
This commit is contained in:
@@ -227,4 +227,16 @@ func init() {
|
||||
userDescCoinAt := userFields[52].Descriptor()
|
||||
// user.DefaultCoinAt holds the default value on creation for the coin_at field.
|
||||
user.DefaultCoinAt = userDescCoinAt.Default.(func() time.Time)
|
||||
// userDescPlanetAt is the schema descriptor for planet_at field.
|
||||
userDescPlanetAt := userFields[54].Descriptor()
|
||||
// user.DefaultPlanetAt holds the default value on creation for the planet_at field.
|
||||
user.DefaultPlanetAt = userDescPlanetAt.Default.(func() time.Time)
|
||||
// userDescLogin is the schema descriptor for login field.
|
||||
userDescLogin := userFields[55].Descriptor()
|
||||
// user.DefaultLogin holds the default value on creation for the login field.
|
||||
user.DefaultLogin = userDescLogin.Default.(bool)
|
||||
// userDescLoginAt is the schema descriptor for login_at field.
|
||||
userDescLoginAt := userFields[56].Descriptor()
|
||||
// user.DefaultLoginAt holds the default value on creation for the login_at field.
|
||||
user.DefaultLoginAt = userDescLoginAt.Default.(func() time.Time)
|
||||
}
|
||||
|
Reference in New Issue
Block a user