Skip to content

Commit

Permalink
Merge pull request #2011 from actiontech/fix-issue1179
Browse files Browse the repository at this point in the history
change Fingerprint type
  • Loading branch information
taolx0 authored Nov 9, 2023
2 parents c81bdb7 + 1c302fa commit c68be47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqle/model/audit_plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ type AuditPlanSQLV2 struct {
// add unique index on fingerprint and audit_plan_id
// it's done by AutoMigrate() because gorm can't create index on TEXT column directly by tag.
AuditPlanID uint `json:"audit_plan_id" gorm:"not null"`
Fingerprint string `json:"fingerprint" gorm:"type:text;not null"`
Fingerprint string `json:"fingerprint" gorm:"type:mediumtext;not null"`
FingerprintMD5 string `json:"fingerprint_md5" gorm:"column:fingerprint_md5;not null"`
SQLContent string `json:"sql" gorm:"type:mediumtext;not null"`
Info JSON `gorm:"type:json"`
Expand Down

0 comments on commit c68be47

Please sign in to comment.