diff --git a/ent/schema/user.go b/ent/schema/user.go index 2df5660..7f1849c 100644 --- a/ent/schema/user.go +++ b/ent/schema/user.go @@ -217,6 +217,14 @@ func (User) Fields() []ent.Field { field.Int("game_lv"). Optional(), + + field.Int("coin"). + Optional(), + + field.Bool("coin_open"). + Default(false). + Optional(), + } }