simplified startup script to make it easier to deploy on my server
This commit is contained in:
@@ -22,8 +22,8 @@ import (
|
||||
|
||||
type BlogPost struct {
|
||||
gorm.Model
|
||||
Url string `json:"url" gorm:"primaryKey"`
|
||||
Title string `json:"title"`
|
||||
Date string `json:"date"`
|
||||
Url string `json:"url" gorm:"primaryKey"`
|
||||
Title string `json:"title"`
|
||||
Date string `json:"date"`
|
||||
Comments []Comment `gorm:"foreignKey:Id"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user