antoniomuso commented on code in PR #6424:
URL: 
https://github.com/apache/incubator-devlake/pull/6424#discussion_r1448537467


##########
backend/plugins/gitlab/models/migrationscripts/archived/account.go:
##########
@@ -18,19 +18,22 @@ limitations under the License.
 package archived
 
 import (
+       "time"
+
        
"github.com/apache/incubator-devlake/core/models/migrationscripts/archived"
 )
 
 type GitlabAccount struct {
-       ConnectionId    uint64 `gorm:"primaryKey"`
-       GitlabId        int    `gorm:"primaryKey"`
-       Username        string `gorm:"type:varchar(255)"`
-       Email           string `gorm:"type:varchar(255)"`
-       Name            string `gorm:"type:varchar(255)"`
-       State           string `gorm:"type:varchar(255)"`
-       MembershipState string `json:"membership_state" 
gorm:"type:varchar(255)"`
-       AvatarUrl       string `json:"avatar_url" gorm:"type:varchar(255)"`
-       WebUrl          string `json:"web_url" gorm:"type:varchar(255)"`
+       ConnectionId    uint64     `gorm:"primaryKey"`
+       GitlabId        int        `gorm:"primaryKey"`
+       Username        string     `gorm:"type:varchar(255)"`
+       Email           string     `gorm:"type:varchar(255)"`
+       Name            string     `gorm:"type:varchar(255)"`
+       State           string     `gorm:"type:varchar(255)"`
+       MembershipState string     `json:"membership_state" 
gorm:"type:varchar(255)"`
+       AvatarUrl       string     `json:"avatar_url" gorm:"type:varchar(255)"`
+       WebUrl          string     `json:"web_url" gorm:"type:varchar(255)"`
+       CreatedUserAt   *time.Time `json:"created_at"`

Review Comment:
   Done!



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to