@@ -25,25 +25,25 @@ import (
25
25
26
26
type GithubRelease struct {
27
27
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"`
47
47
}
48
48
49
49
func (GithubRelease ) TableName () string {
0 commit comments