Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GithubIssue20220524 ¶
func (GithubIssue20220524) TableName ¶
func (GithubIssue20220524) TableName() string
type GithubPullRequest20220509 ¶
type GithubPullRequest20220509 struct {
GithubId int `gorm:"primaryKey"`
RepoId int `gorm:"index"`
Number int `gorm:"index"` // This number is used in GET requests to the API associated to reviewers / comments / etc.
State string `gorm:"type:varchar(255)"`
Title string `gorm:"type:varchar(255)"`
GithubCreatedAt time.Time
GithubUpdatedAt time.Time `gorm:"index"`
ClosedAt *time.Time
// In order to get the following fields, we need to collect PRs individually from GitHub
Additions int
Deletions int
Comments int
Commits int
ReviewComments int
Merged bool
MergedAt *time.Time
Body string
Type string `gorm:"type:varchar(255)"`
Component string `gorm:"type:varchar(255)"`
MergeCommitSha string `gorm:"type:varchar(40)"`
HeadRef string `gorm:"type:varchar(255)"`
BaseRef string `gorm:"type:varchar(255)"`
BaseCommitSha string `gorm:"type:varchar(255)"`
HeadCommitSha string `gorm:"type:varchar(255)"`
Url string `gorm:"type:varchar(255)"`
AuthorName string `gorm:"type:varchar(100)"`
AuthorId int
archived.NoPKModel
}
func (GithubPullRequest20220509) TableName ¶
func (GithubPullRequest20220509) TableName() string
type InitSchemas ¶
type InitSchemas struct{}
func (*InitSchemas) Name ¶
func (*InitSchemas) Name() string
func (*InitSchemas) Version ¶
func (*InitSchemas) Version() uint64
type UpdateSchemas20220509 ¶
type UpdateSchemas20220509 struct{}
func (*UpdateSchemas20220509) Name ¶
func (*UpdateSchemas20220509) Name() string
func (*UpdateSchemas20220509) Version ¶
func (*UpdateSchemas20220509) Version() uint64
type UpdateSchemas20220524 ¶
type UpdateSchemas20220524 struct{}
func (*UpdateSchemas20220524) Name ¶
func (*UpdateSchemas20220524) Name() string
func (*UpdateSchemas20220524) Version ¶
func (*UpdateSchemas20220524) Version() uint64
Click to show internal directories.
Click to hide internal directories.