Skip to content

Commit

Permalink
force gorm type
Browse files Browse the repository at this point in the history
  • Loading branch information
parametalol committed Jan 15, 2024
1 parent 4808716 commit fe1a163
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/dinosaur/pkg/api/dbapi/central_request_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ type CentralRequest struct {

// Traits is a set of random strings assigned to an instance. Some traits
// can be hardcoded, and change some processing parameters.
Traits []string `json:"traits"`
Traits []string `json:"traits" gorm:"type:string[]"`
}

// CentralList ...
Expand Down

0 comments on commit fe1a163

Please sign in to comment.