Skip to content

Commit ffff7fc

Browse files
committed
updated description length
1 parent 5dba049 commit ffff7fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/internal/entity/course.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import "gorm.io/gorm"
55
type Course struct {
66
gorm.Model
77
Title string `gorm:"size:255;not null;" json:"title"`
8-
Description string `gorm:"size:255;not null;" json:"description"`
8+
Description string `gorm:"size:500;not null;" json:"description"`
99
CreatorID int `gorm:"foreignKey" json:"creator_id"`
1010
Students []Account `gorm:"many2many:enrollment;" json:"-"`
1111
Tags []Tag `gorm:"many2many:course_tag;" json:"tags"`

0 commit comments

Comments
 (0)