Skip to content

Commit

Permalink
INTG-3363 - Fixed column length and added indexes.
Browse files Browse the repository at this point in the history
  • Loading branch information
sc-gv committed May 6, 2024
1 parent acaaaf6 commit f8fab10
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkg/internal/feed/feed_issue_assignee.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ import (
)

type IssueAssignee struct {
ID string `json:"id" csv:"id" gorm:"primarykey;column:id;size:36"`
IssueID string `json:"issue_id" csv:"issue_id" gorm:"index;column:issue_id;size:36"`
AssigneeID string `json:"assignee_id" csv:"assignee_id" gorm:"index;column:assignee_id;size:36"`
ID string `json:"id" csv:"id" gorm:"primarykey;column:id;size:375"`
IssueID string `json:"issue_id" csv:"issue_id" gorm:"index:idx_issue_asg_issue_id;column:issue_id;size:36"`
AssigneeID string `json:"assignee_id" csv:"assignee_id" gorm:"size:256"`
Name string `json:"name" csv:"name"`
OrganisationID string `json:"organisation_id" csv:"organisation_id" gorm:"index;column:organisation_id;size:36"`
ModifiedAt time.Time `json:"modified_at" csv:"modified_at"`
OrganisationID string `json:"organisation_id" csv:"organisation_id" gorm:"size:37"`
ModifiedAt time.Time `json:"modified_at" csv:"modified_at" gorm:"index:idx_issue_asg_modified_at,sort:desc;column:modified_at"`
Type string `json:"type" csv:"type"`
}

Expand Down

0 comments on commit f8fab10

Please sign in to comment.