@@ -25,25 +25,25 @@ import (
2525
2626type GithubRelease struct {
2727 common.NoPKModel `json:"-" mapstructure:"-"`
28- ConnectionId uint64 `json:"connection_id" gorm:"primaryKey"`
29- GithubId int `json:"github_id"`
30- Id string `json:"id" gorm:"type:varchar(255);primaryKey"`
31- AuthorName string `json:"authorName"`
32- AuthorID string `json:"authorId"`
33- CreatedAt time.Time `json:"createdAt"`
34- DatabaseID int `json:"databaseId"`
35- Description string `json:"description"`
36- DescriptionHTML string `json:"descriptionHTML"`
37- IsDraft bool `json:"isDraft"`
38- IsLatest bool `json:"isLatest"`
39- IsPrerelease bool `json:"isPrerelease"`
40- Name string `json:"name"`
41- PublishedAt time.Time `json:"publishedAt"`
42- ResourcePath string `json:"resourcePath"`
43- TagName string `json:"tagName"`
44- UpdatedAt time.Time `json:"updatedAt"`
45- CommitSha string `json:"commit_sha"`
46- URL string `json:"url"`
28+ ConnectionId uint64 `json:"connection_id" gorm:"primaryKey"`
29+ GithubId int `json:"github_id"`
30+ Id string `json:"id" gorm:"type:varchar(255);primaryKey"`
31+ AuthorName string `json:"authorName"`
32+ AuthorID string `json:"authorId"`
33+ CreatedAt time.Time `json:"createdAt"`
34+ DatabaseID int `json:"databaseId"`
35+ Description string `json:"description"`
36+ DescriptionHTML string `json:"descriptionHTML"`
37+ IsDraft bool `json:"isDraft"`
38+ IsLatest bool `json:"isLatest"`
39+ IsPrerelease bool `json:"isPrerelease"`
40+ Name string `json:"name"`
41+ PublishedAt * time.Time `json:"publishedAt"`
42+ ResourcePath string `json:"resourcePath"`
43+ TagName string `json:"tagName"`
44+ UpdatedAt time.Time `json:"updatedAt"`
45+ CommitSha string `json:"commit_sha"`
46+ URL string `json:"url"`
4747}
4848
4949func (GithubRelease ) TableName () string {
0 commit comments