feat: add carousel support and ribenyan crawler
This commit is contained in:
@@ -12,6 +12,7 @@ type Article struct {
|
||||
Content string `gorm:"type:text;not null" json:"content"`
|
||||
Summary string `gorm:"size:500" json:"summary"`
|
||||
CoverImage string `gorm:"size:500" json:"cover_image"`
|
||||
Carousel string `gorm:"size:500" json:"carousel"`
|
||||
IsPinned bool `gorm:"default:false" json:"is_pinned"`
|
||||
IsPublished bool `gorm:"default:true" json:"is_published"`
|
||||
SortOrder int `gorm:"default:0" json:"sort_order"`
|
||||
|
||||
Reference in New Issue
Block a user