Skip to content

Commit 016aa72

Browse files
Dinesh SalunkeDinesh Salunke
authored andcommitted
refactor: add creator property to the project
1 parent 7383e7b commit 016aa72

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

models/project/project.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ type Project struct {
9191
RepoID int64 `xorm:"INDEX"`
9292
Repo *repo_model.Repository `xorm:"-"`
9393
CreatorID int64 `xorm:"NOT NULL"`
94+
Creator *user_model.User `xorm:"-"`
9495
IsClosed bool `xorm:"INDEX"`
9596
TemplateType TemplateType `xorm:"'board_type'"` // TODO: rename the column to template_type
9697
CardType CardType

0 commit comments

Comments
 (0)