phase 2 testing complete
This commit is contained in:
+10
-10
@@ -11,14 +11,14 @@ const (
|
||||
)
|
||||
|
||||
type PullRequest struct {
|
||||
ID int64 `xorm:"pk autoincr" json:"id"`
|
||||
RepoID int64 `xorm:"notnull index" json:"repoId"`
|
||||
AuthorID int64 `xorm:"notnull index" json:"authorId"`
|
||||
Title string `xorm:"notnull varchar(255)" json:"title"`
|
||||
Body string `xorm:"text" json:"body"`
|
||||
SourceBranch string `xorm:"notnull varchar(255)" json:"sourceBranch"`
|
||||
TargetBranch string `xorm:"default 'main' varchar(255)" json:"targetBranch"`
|
||||
Status PRStatus `xorm:"default 'open' varchar(16)" json:"status"`
|
||||
CreatedAt time.Time `xorm:"created" json:"createdAt"`
|
||||
UpdatedAt time.Time `xorm:"updated" json:"updatedAt"`
|
||||
ID int64 `xorm:"'id' pk autoincr" json:"id"`
|
||||
RepoID int64 `xorm:"'repo_id' notnull index" json:"repoId"`
|
||||
AuthorID int64 `xorm:"'author_id' notnull index" json:"authorId"`
|
||||
Title string `xorm:"'title' notnull varchar(255)" json:"title"`
|
||||
Body string `xorm:"'body' text" json:"body"`
|
||||
SourceBranch string `xorm:"'source_branch' notnull varchar(255)" json:"sourceBranch"`
|
||||
TargetBranch string `xorm:"'target_branch' default 'main' varchar(255)" json:"targetBranch"`
|
||||
Status PRStatus `xorm:"'status' default 'open' varchar(16)" json:"status"`
|
||||
CreatedAt time.Time `xorm:"'created_at' created" json:"createdAt"`
|
||||
UpdatedAt time.Time `xorm:"'updated_at' updated" json:"updatedAt"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user