From 972bcb8639a74bcc8a01047ede5fd01cab02547c Mon Sep 17 00:00:00 2001 From: syui Date: Thu, 22 Feb 2024 22:14:36 +0900 Subject: [PATCH] fix --- ent/schema/user.go | 8 ++++++++ 1 file changed, 8 insertions(+) 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(), + } }