added content to blog posts, forgot about that somehow ...

This commit is contained in:
rawleyIfowler
2022-02-23 17:03:48 -06:00
parent 2ebe41eb86
commit c5ccbec4c7
2 changed files with 4 additions and 1 deletions

View File

@@ -25,5 +25,6 @@ type BlogPost struct {
Url string `json:"url" gorm:"primaryKey"`
Title string `json:"title"`
Date string `json:"date"`
Content string `json:"content"`
Comments []Comment `gorm:"foreignKey:Id"`
}