1
0

add planet

This commit is contained in:
2024-08-01 06:01:28 +09:00
parent a4cd0e0f9a
commit 4c0c396086
17 changed files with 5062 additions and 59 deletions

View File

@@ -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)
}