diff --git a/src/ent/schema/service.go b/src/ent/schema/service.go index c7702f6..7e27be4 100644 --- a/src/ent/schema/service.go +++ b/src/ent/schema/service.go @@ -26,6 +26,7 @@ func (Service) Fields() []ent.Field { field.String("description").NotEmpty().StructTag(`json:"description"`), field.String("logo_url").NotEmpty().StructTag(`json:"logo_url"`), field.String("referral").Default("").StructTag(`json:"referral"`), + field.String("category").Default("others").StructTag(`json:"category"`), field.String("listing_comment").Default("").StructTag(`json:"listing_comment"`), field.String("tags").StructTag(`json:"tags"`), field.Strings("urls").StructTag(`json:"urls"`),