summaryrefslogtreecommitdiffstats
path: root/models/migrations/v64.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/migrations/v64.go')
-rw-r--r--models/migrations/v64.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/models/migrations/v64.go b/models/migrations/v64.go
index 5bc7e36b51..e4a360f578 100644
--- a/models/migrations/v64.go
+++ b/models/migrations/v64.go
@@ -83,7 +83,7 @@ func addMultipleAssignees(x *xorm.Engine) error {
return err
}
- allIssues := []Issue{}
+ allIssues := []*Issue{}
if err := sess.Find(&allIssues); err != nil {
return err
}
@@ -104,7 +104,7 @@ func addMultipleAssignees(x *xorm.Engine) error {
return err
}
- allAssignementComments := []Comment{}
+ allAssignementComments := []*Comment{}
if err := sess.Where("type = ?", 9).Find(&allAssignementComments); err != nil {
return err
}