Skip to content

Commit

Permalink
fix: string array
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahanmmi committed Dec 31, 2024
1 parent f94071f commit b41d2f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/compliance/db/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ type Query struct {
Global bool

// Rego Fields
RegoPolicies []string `gorm:"type:text[]"`
RegoPolicies pq.StringArray `gorm:"type:text[]"`

CreatedAt time.Time
UpdatedAt time.Time
Expand Down

0 comments on commit b41d2f7

Please sign in to comment.