Skip to content

Commit

Permalink
fix(fetch/inthewild): change gorm type (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaineK00n committed Feb 19, 2023
1 parent 1bc5c06 commit fb5c939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/exploit.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type Exploit struct {
ID int64 `json:"-"`
ExploitType ExploitType `gorm:"type:varchar(255)" json:"exploit_type"`
ExploitUniqueID string `gorm:"type:varchar(255);index:idx_exploit_exploit_unique_id" json:"exploit_unique_id"`
URL string `gorm:"type:varchar(255)" json:"url"`
URL string `gorm:"type:text" json:"url"`
Description string `gorm:"type:text" json:"description"`
CveID string `gorm:"type:varchar(255);index:idx_exploit_cve_id" json:"cve_id"`
OffensiveSecurity *OffensiveSecurity `json:"offensive_security"`
Expand Down

0 comments on commit fb5c939

Please sign in to comment.