Skip to content

Commit cdee683

Browse files
committed
increase body length
1 parent ffff7fc commit cdee683

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/internal/entity/content.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ type Content struct {
66
gorm.Model
77
Title string `gorm:"size:255;not null;" json:"title"`
88
Path string `gorm:"size:255;not null;" json:"path"`
9-
Body string `gorm:"size:2000;" json:"body"`
9+
Body string `gorm:"size:5000;" json:"body"`
1010
Type string `gorm:"size:255;not null;" json:"type"`
1111
ModuleID uint
1212
Module Module `gorm:"foreignKey:ModuleID;references:ID" json:"-"`

0 commit comments

Comments
 (0)